1. 18 Feb, 2007 12 commits
  2. 17 Feb, 2007 6 commits
  3. 16 Feb, 2007 22 commits
    • trans.c (call_to_gnu): Use build_call_list instead of build3 to build the call expression. · 9f3432b8
      	* trans.c (call_to_gnu):  Use build_call_list instead of build3 to
      	build the call expression.
      	(gnat_stabilize_reference_1): Handle tcc_vl_exp.
      	* utils.c (max_size) <tcc_exceptional>: Delete.
      	<tcc_vl_exp>: New case.
      	<tcc_expression>: Delete CALL_EXPR subcase.
      	(build_global_cdtor): Use build_call_nary instead of build3.
      	* utils2.c (build_call_1_expr): Likewise.
      	(build_call_2_expr): Likewise.
      	(build_call_0_expr): Likewise.
      	(build_call_alloc_dealloc): Likewise.
      
      
      Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
      
      From-SVN: r122058
      Eric Botcazou committed
    • Thread.java (Thread(ThreadGroup, Runnable, String)): Pass new parameter constructor. · 599b39ce
      	* java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
      	new parameter constructor.
      	(Thread(ThreadGroup, Runnable, String, long)): Same.
      	(Thread(String, boolean)): New constructor.
      	(Thread(Thread, ThreadGroup, Runnable, String): Add parameter
      	noInheritableThreadLocal, don't call
      	InheritableThreadLocal.newChildThread if set.
      	* java/lang/PosixProcess.java(ProcessManager()): Set
      	noInheritableThreadLocal in super.
      	* java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
      	parameter to Thread constructor.
      	(_Jv_AttachCurrentThreadAsDaemon): Same.
      	* java/lang/Thread.h: Regenerate.
      	* classpath/lib/java/lang/Thread.class: Same.
      	* classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
      	* classpath/lib/java/lang/PosixProcess.class: Same.
      	* classpath/lib/java/lang/Thread$State.class: Same.
      	* classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
      
      From-SVN: r122054
      David Daney committed
    • re PR classpath/28652 (JBoss fails to start due class cast exception in the management classes) · d16c4b1a
      2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
      
      	PR classpath/28652:
      	* javax/management/MBeanInfo.java (MBeanInfo): 
      	Use clone to duplicate the arrays in order to
      	preserve the array type.
      
      From-SVN: r122050
      Edwin Steiner committed
    • i386.h (x86_use_xchgb): New. · fa681e39
              * config/i386/i386.h (x86_use_xchgb): New.
              (TARGET_USE_XCHGB): New macro.
              * config/i386/i386.c (x86_use_xchgb): Set for PENT4.
              * config/i386/i386.md (*rotlhi3_1 splitter, *rotrhi3_1 splitter):
              Split after reload into bswaphi for shifts of 8.
              (bswaphi_lowpart): Generate rolw insn for HImode byte swaps.
              (*bswaphi_lowpart_1): Generate xchgb for Q registers for TARGET_XCHGB
              or when optimizing for size.
      
      testsuite/ChangeLog:
      
              * gcc.target/i386/builtin-bswap-1.c: Remove -march=nocona.
              * gcc.target/i386/builtin-bswap-3.c: Ditto.
              * gcc.target/i386/xchg-1.c: New test.
              * gcc.target/i386/xchg-2.c: New test.
      
      From-SVN: r122049
      Uros Bizjak committed
    • interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot variables to maintain type info. · ce359ed9
      2007-02-16  Kyle Galloway  <kgallowa@redhat.com>
      
      	* interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
      	variables to maintain type info.
      	* interpret-run.cc: Add local variable info to frame in the debug
      	interpreter.
      	* jvmti.cc (getLocalFrame): New method.
      	(_Jv_JVMTI_GetLocalObject): New method.
      	(_Jv_JVMTI_GetLocallInt): New method.
      	(_Jv_JVMTI_GetLocalFloat): New method.
      	(_Jv_JVMTI_GetLocalLong): New method.
      	(_Jv_JVMTI_GetLocalDouble): New method.
      	(_Jv_JVMTI_SetLocalObject): New method.
      	(_Jv_JVMTI_SetLocalInt): New method.
      	(_Jv_JVMTI_SetLocalFloat): New method.
      	(_Jv_JVMTI_SetLocalLong): New method.
      	(_Jv_JVMTI_SetLocalDouble): New method.
      
      From-SVN: r122048
      Kyle Galloway committed
    • 2007-02-16 Gary Benson <gbenson@redhat.com> · 2c39a2b1
      	* gnu/gcj/tools/gcj_dbtool/Main.java
      	(bytesToString): Don't lose zeros from within the digest.
      
      From-SVN: r122045
      Gary Benson committed
    • revert: re PR middle-end/30768 (ICE in ext/pb_ds/regression/list_update_data_map_rand.cc) · 01bc4081
      2007-02-16  Paolo Carlini  <pcarlini@suse.de>
      
      	Revert.
      	2007-02-14  Hans-Peter Nilsson  <hp@axis.com>
      
      	PR middle-end/30768
      	* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc:
      	Xfail ICE for cris-*-*.
      
      From-SVN: r122044
      Paolo Carlini committed
    • [multiple changes] · 24d8ce15
      2007-02-15  Andrew Haley  <aph@redhat.com>
      
              * Makefile.am (nat_source_files): Remove
              java/lang/management/natVMManagementFactory.cc.
              * java/lang/Thread.java (getStackTrace): Use reflection to call
              the ManagementFactory.
              * java/lang/management/VMManagementFactory.java: Remove native
              methods.
              * java/lang/management/natVMManagementFactory.cc: Deleted.
              * sources.am: Regnerate.
              * scripts/makemake.tcl: Add new "bcheaders" type.
              Move java/lang/management and gnu/classpath/management to "bc".
              Move gnu/java/lang/management to "bcheaders".
      
      2007-02-16  Andrew Haley  <aph@redhat.com>
      
              * gnu/java/lang/management/MemoryMXBeanImpl.java,
              javax/management/MBeanServerDelegate.java: Use
              gnu.javax.management.ListenerData rather than
              gnu.classpath.ListenerData.
              * gnu/javax/management/ListenerData.java: Move here from
              gnu/classpath/ListenerData.java.
      
      From-SVN: r122041
      Andrew Haley committed
    • fold-const.c (tree_swap_operands_p): Treat SSA_NAMEs like DECLs but prefer SSA_NAMEs over DECLs. · 421076b5
      2007-02-16  Richard Guenther  <rguenther@suse.de>
      	Christian Bruel  <christian.bruel@st.com>
      
      	* fold-const.c (tree_swap_operands_p): Treat SSA_NAMEs like
      	DECLs but prefer SSA_NAMEs over DECLs.
      
      	* gcc.dg/strict-overflow-5.c: New testcase.
      
      Co-Authored-By: Christian Bruel <christian.bruel@st.com>
      
      From-SVN: r122040
      Richard Guenther committed
    • * runtime/memory.c (deallocate): Correct comment. · 6eedbf0d
      From-SVN: r122038
      Francois-Xavier Coudert committed
    • re PR fortran/30793 (Segfault on calling a function returning a pointer) · 73865312
      fortran/
      2007-02-16  Tobias Burnus  <burnus@net-b.de>
      
             PR fortran/30793
             * trans-decl.c (gfc_generate_function_code): Do not initialize
               pointers to derived components.
      
      testsuite/
      2007-02-16  Tobias Burnus  <burnus@net-b.de>
      
             PR fortran/30793
             * gfortran.dg/func_derived_4.f90: New test.
      
      From-SVN: r122037
      Tobias Burnus committed
    • tree-flow-inline.h (single_imm_use_p): Remove. · 40b448ef
      2007-02-16  Richard Guenther  <rguenther@suse.de>
      
      	* tree-flow-inline.h (single_imm_use_p): Remove.
      	(zero_imm_uses_p): Likewise.
      	* tree-ssa-coalesce.c (create_outofssa_var_map): Use has_single_use
      	instead of single_imm_use_p.
      	* tree-cfg.c (replace_uses_by): Use has_zero_use instead of
      	zero_imm_uses_p.
      
      From-SVN: r122036
      Richard Guenther committed
    • re PR other/27843 (gcc-4.2-20060527 make install fails on alphaev68-dec-osf5.1b) · 70d0631e
      2007-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
      
      	PR other/27843
      	* Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
      	nested double- and backquotes.
      
      From-SVN: r122032
      Ralf Wildenhues committed
    • * Makefile.in: Added "pdf" target to .PHONY. · 123ddd68
      From-SVN: r122031
      Brooks Moses committed
    • re PR middle-end/30391 (ICE at -O1 with conditional expressions and GIMPLE_MODIFY_STMT) · 939409af
      
      	PR middle-end/30391
      	* tree.c (expr_align): Handle MODIFY_EXPR.  GIMPLE_MODIFY_STMT
      	should be unreachable.
      	(build2_stat): Allow construction of MODIFY_EXPR at any time.
      	For the time being redirect GIMPLE_MODIFY_STMT to the new
      	(renamed) build_gimple_modify_stmt_stat.
      	(build2_gimple_stat): Rename to...
      	(build_gimple_modify_stmt_stat): Now longer take a CODE argument.
      	Always build a GIMPLE_MODIFY_STMT node.
      	* tree.h (build2_gimple, build2_gimple_stat): Delete.
      	(build_gimple_modify_stmt, build_gimple_modify_stmt_stat): New
      	declarations.
      
      	* tree-cfg.c (factor_computed_gotos, tree_merge_blocks,
      	gimplify_val): Use build_gimple_modify_stmt instead of build2_gimple.
      	* tree-complex.c (set_component_ssa_name, expand_complex_move,
      	expand_complex_div_wide): Likewise.
      	* tree-ssa-dom.c (record_equivalences_from_stmt): Likewise.
      	* tree-ssa-loop-im.c (schedule_sm): Likewise.
      	* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Likewise.
      	* tree-ssa-loop-manip.c (create_iv): Likewise.
      	* tree-ssa-phiopt.c (conditional_replacement, minmax_replacement,
      	abs_replacement): Likewise.
      	* tree-ssa-pre.c (create_expression_by_pieces, poolify_modify_stmt,
      	realify_fake_stores): Likewise.
      
      	* builtins.c (std_expand_builtin_va_start): Build a MODIFY_EXPR
      	node rather than a GIMPLE_MODIFY_STMT node.
      	(std_gimpify_va_arg_expr, expand_builtin_va_copy,
      	fold_builtin_memset, fold_builtin_memory_op, do_mpfr_sincos):
      	Likewise.
      	(integer_valued_real_p): Handle MODIFY_EXPR, not GIMPLE_MODIFY_STMT.
      	* expr.c (expand_expr_real_1): Handle both MODIFY_EXPR and
      	GIMPLE_MODIFY_STMT.
      
      	* gfortran.dg/pr30391-1.f90: New test case.
      
      From-SVN: r122030
      Roger Sayle committed
    • re PR middle-end/30433 (no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0)) · 3c32c87f
      2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/30433
              * fold-const.c (fold_comparison): Add back the
              folding of constant complex comparisions.
      2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/30433
              * gcc.c-torture/compile/pr30433.c: New testcase to check
              that complex constants comparisions are foldded.
      
      From-SVN: r122029
      Andrew Pinski committed
    • re PR c++/30158 (ICE with invalid statement-expressions) · 76b9a2a1
      2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C++/30158
              * semantics.c (finish_stmt_expr_expr): Set TREE_TYPE of the
              statement expression if we had an error mark node.
      2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C++/30158
              * g++.dg/ext/stmtexpr10.C: New testcase.
      
      From-SVN: r122028
      Andrew Pinski committed
    • re PR middle-end/30729 (value computed is not used warning with unused result of va_arg) · d3d6f724
      2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/30729
              * stmt.c (warn_if_unused_value): VA_ARG_EXPR has side
              effects unknown to this function, return early.
      
      2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/30729
              * gcc.dg/Wunused-value-2.c: New testcase.
      
      From-SVN: r122027
      Andrew Pinski committed
    • texi2pod.pl: Handle @subsubsection, ignore @anchor. · d0fc3f06
      2007-02-16  Matthias Klose  <doko@debian.org>
      
              * texi2pod.pl: Handle @subsubsection, ignore @anchor.
      
      From-SVN: r122026
      Matthias Klose committed
    • lower-subreg.c (move_eh_region_note): New static function. · 73663bb7
      ./:	* lower-subreg.c (move_eh_region_note): New static function.
      	(resolve_simple_move): Call it.
      	(decompose_multiword_subregs): Track blocks for which we resolve a
      	simple move which is also a control flow insn.  Pass them to
      	find_many_sub_basic_blocks.
      	(pass_lower_subreg): Add TODO_verify_flow.
      	(pass_lower_subreg2): Likewise.
      testsuite/:
      	* g++.dg/eh/subreg-1.C: New test.
      
      From-SVN: r122025
      Ian Lance Taylor committed
    • Daily bump. · 845a9c4e
      From-SVN: r122023
      GCC Administrator committed
    • interpret.cc (_Jv_InterpMethod::check_handler): New method. · 7a1bf87c
      2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
      	
      	* interpret.cc (_Jv_InterpMethod::check_handler): New method.
          * interpret-run.cc: Change the catch section to report exception
          events and to use the new check_handler method.
          * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
          * gnu/gcj/jvmti/ExceptionEvent.java: New file.
          * gnu/gcj/jvmti/ExceptionEvent.h: New file.
          * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
          * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
          file.
          * sources.am: Added ExceptionEvent.java.
          * Makefile.am: Added natExceptionEvent.cc
          * Makefile.in: Regenerated.
          * include/Makefile.in: Regenerated.
          * gcj/Makefile.in: Regenerated.
      
      From-SVN: r122019
      Kyle Galloway committed