1. 09 Apr, 2007 13 commits
    • re PR target/27869 ("-O -fregmove" handles SSE scalar instructions incorrectly) · c141e499
      	PR target/27869
      	* config/i386/sse.md
      	(sse_vmaddv4sf3, sse_vmmulv4sf3): Remove '%' modifier.
      	(sse_vmsmaxv4sf3_finite, sse_vmsminv4sf3_finite): Remove.
      	(sse2_vmaddv2df3, sse2_vmmulv2df3): Remove '%' modifier.
      	(sse2_vmsmaxv2df3_finite, sse2_vmsminv2df3_finite): Remove.
      
      From-SVN: r123682
      Jan Hubicka committed
    • interpret-run.cc: If debugging, check if args is NULL before getting the "this" pointer. · b1bdab7e
      2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
      
      	* interpret-run.cc: If debugging, check if args is NULL before
      	getting the "this" pointer.
      
      From-SVN: r123681
      Kyle Galloway committed
    • ArrayValue.java: New file. · aa2473e4
      2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
      
      	* classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
      	* classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
      	* gnu/classpath/jdwp/ArrayValue.h: New file.
      	* gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
      	(setValue): Ditto.
      
      From-SVN: r123680
      Kyle Galloway committed
    • re PR c++/31449 ([4.1] static_cast can remove const-ness) · a607b96e
      	PR c++/31449
      	* class.c (build_base_path): Ensure that the converted pointer has
      	the same cv-qualification as the input.
      	PR c++/31449
      	* g++.dg/init/const5.C: New test.
      
      From-SVN: r123679
      Mark Mitchell committed
    • sendmsg.c: Added __objc_msg_forward2... · 80ae8e8a
      2007-04-09  Andrew Ruder  <andy@aeruder.net>
      
              * sendmsg.c: Added __objc_msg_forward2, a hook that allows
              external libraries to provide a function that returns the real
              forwarding function based on both the selector and the receiver.
              * objc/objc-api.h: Define __objc_msg_forward2.
      
      From-SVN: r123678
      Andrew Ruder committed
    • Fix ChangeLog date. · ecc0fc15
      From-SVN: r123677
      David Daney committed
    • re PR libgcj/23758 (java::lang::ConcreteProcess::nativeSpawn unsafe) · 290b7f64
      	PR libgcj/23758
      	* java/lang/natPosixProcess.cc (nativeSpawn): Move building of
      	environment before the fork.
      	* testsuite/libjava.lang/Process_7.java: New test.
      	* testsuite/libjava.lang/Process_7.out: Its expected results.
      	* testsuite/libjava.lang/Process_7.jar: Generated file.
      
      From-SVN: r123676
      David Daney committed
    • type_traits_fwd.h (__is_union_or_class): Remove. · 22931aa4
      2007-04-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/type_traits_fwd.h (__is_union_or_class): Remove.
      	* include/tr1/type_traits (struct __in_array,
      	struct __is_union_or_class, struct __is_union_or_class_helper,
      	struct __is_empty_helper, struct __is_polymorphic_helper):
      	Remove.
      	(struct is_enum): Use __is_enum.
      	(struct is_union): Use __is_union.
      	(struct is_class): Use __is_class.
      	(struct is_function): Adjust.
      	(struct is_empty): Use __is_empty.
      	(struct is_polymorphic): Use __is_polymorphic.
      	(struct is_abstract): Use __is_abstract.
      	(struct has_virtual_destructor): Use __has_virtual_destructor.
      	(struct __is_base_of_helper): Use __is_base_of.
      	* testsuite/tr1/4_metaprogramming/composite_type_traits/
      	is_union_or_class/typedefs.cc: Remove.
      	* testsuite/tr1/4_metaprogramming/composite_type_traits/
      	is_union_or_class/is_union_or_class.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/primary_type_categories/
      	is_class/typedefs.cc: New.
      	* testsuite/tr1/4_metaprogramming/primary_type_categories/
      	is_class/is_class.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/primary_type_categories/
      	is_union/typedefs.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/primary_type_categories/
      	is_union/is_union.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	has_virtual_destructor/typedefs.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	has_virtual_destructor/has_virtual_destructor.cc: Likewise.
      	* testsuite/util/testsuite_tr1.h (class VirtualDestructorClass): Add.
      	* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
      	is_polymorphic.cc: Add test.
      
      From-SVN: r123675
      Paolo Carlini committed
    • foldaddr-3.c: New file. · 6e6e19cb
      	* gcc.dg/tree-ssa/foldaddr-3.c: New file.
      
      	* tree-ssa-ccp (maybe_fold_offset_to_component_ref): Recurse into
      	multiple fields of union.
      
      From-SVN: r123674
      Jan Hubicka committed
    • tree.c (cp_tree_equal): Deal with TRAIT_EXPR. · ea798d0f
      2007-04-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* tree.c (cp_tree_equal): Deal with TRAIT_EXPR.
      
      From-SVN: r123673
      Paolo Carlini committed
    • prims.cc (load_jvmti_agent): Add the missing `,'. · 70275c38
      2007-04-09  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* prims.cc (load_jvmti_agent): Add the missing `,'.
      
      From-SVN: r123672
      H.J. Lu committed
    • gij.cc (main): Accept -agentlib and -agentpath options. · 3fe9aa9e
      2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
      
      	* gij.cc (main): Accept -agentlib and -agentpath options.
      	* prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
      	(load_jvmti_agent): New function.
      
      From-SVN: r123671
      Kyle Galloway committed
    • cfgloopmanip.c (create_preheader): Do not use loop_preheader_edge. · c7b852c8
      	* cfgloopmanip.c (create_preheader): Do not use loop_preheader_edge.
      	(create_preheaders): Check that loops are available.
      	(fix_loop_structure): Clean up, improve comments.
      	* tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa):
      	Check that loops are available.  Set LOOP_CLOSED_SSA to the loops
      	state flags.
      	* tree-scalar-evolution.c (scev_finalize): Clear scalar_evolution_info.
      	* predict.c (tree_estimate_probability): Do not call
      	calculate_dominance_info.  Call create_preheaders.
      	* tree-cfgcleanup.c (cleanup_tree_cfg_loop): Only call
      	rewrite_into_loop_closed_ssa if LOOP_CLOSED_SSA is set in loops state
      	flags.
      	* cfgloop.c (loop_preheader_edge): Assert that loops have preheaders.
      	* cfgloop.h (LOOP_CLOSED_SSA): New constant.
      	* tree-cfg.c (tree_split_edge): Make an assert more precise.
      	* tree-ssa-threadedge.c (thread_across_edge): Comment the function
      	arguments.
      
      From-SVN: r123670
      Zdenek Dvorak committed
  2. 08 Apr, 2007 7 commits
  3. 07 Apr, 2007 13 commits
  4. 06 Apr, 2007 7 commits
    • re PR libstdc++/31117 (c++locale.o thread-unsafe in libstdc++) · 1bfe2e5f
      2007-04-06  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/31117
      	* config/locale/gnu/c_locale.cc (__convert_to_v): Do not use errno,
      	just check that the value is finite.
      	* config/locale/generic/c_locale.cc (__convert_to_v): Likewise.
      
      From-SVN: r123635
      Paolo Carlini committed
    • Daily bump. · 91f753f8
      From-SVN: r123633
      GCC Administrator committed
    • tree-ssa-loop-niter.c (idx_infer_loop_bounds): Add and use argument "reliable". · ac84e05e
      	* tree-ssa-loop-niter.c (idx_infer_loop_bounds): Add and use
      	argument "reliable".
      	(infer_loop_bounds_from_ref, infer_loop_bounds_from_array):
      	Add argument "reliable".  Propagate it through calls.
      	(infer_loop_bounds_from_undefined):  Derive number of iterations
      	estimates from references in blocks that do not dominate loop latch.
      	(gcov_type_to_double_int): New function.
      	(estimate_numbers_of_iterations_loop): Use gcov_type_to_double_int
      	and expected_loop_iterations_unbounded.
      	* cfgloopanal.c (expected_loop_iterations_unbounded): New function.
      	(expected_loop_iterations): Use expected_loop_iterations_unbounded.
      	* tree-data-ref.c (estimated_loop_iterations): Export.
      	(get_references_in_stmt): Fix -- do not return addresses of local
      	objects.
      	* cfgloop.h (expected_loop_iterations_unbounded,
      	estimated_loop_iterations): Declare.
      
      From-SVN: r123630
      Zdenek Dvorak committed
    • Remove ">>>>>>> .r123627". · 64199a9e
      From-SVN: r123629
      H.J. Lu committed
    • tree-sra.c (sra_build_elt_assignment): Initialize min/maxshift. · 4de5c5d3
      2007-04-06  Andreas Tobler  <a.tobler@schweiz.org>
      
              * tree-sra.c (sra_build_elt_assignment): Initialize min/maxshift.
      
      From-SVN: r123628
      Andreas Tobler committed
    • i386.md (extend<mode>xf2): Rename from extendsfxf2 and extenddfxf2. · a344e3cb
              * config/i386/i386.md (extend<mode>xf2): Rename from extendsfxf2
              and extenddfxf2. Macroize expander using X87MODEF12 mode macro.
              (*truncdfsf_mixed, *truncdfsf_i387, *truncdfsf2_i387_1):
              Use output_387_reg_move().
              (*truncxf<mode>2): Rename from *truncxfsf2 and truncxfdf2. Macroize
              expander using X87MODEF12 mode macro.
              (*truncxfsf2_mixed): Combine alternatives, ignore "r" alternative when
              choosing register preferences.  Use output_387_reg_move().
              (*truncxfdf2_mixed): Combine alternatives, use "r" alternative
              instead of "x".  Use output_387_reg_move().
              (*truncxf<mode>2_i387_noop): Rename from *truncxfsf2_i387_noop and
              *truncxfdf2_i387_noop.  Macroize insn using X87MODEF12 mode macro.
              (*truncxf<mode>2_i387): Rename from *truncxfsf2_i387 and
              *truncxfdf2_i387.  Macroize insn using X87MODEF12 mode macro.
              Use output_387_reg_move().
              (*truncxf?f_mixed splitter): Macroize splitter using X87MODEF12
              mode macro.
              (*truncxf?f_i387 splitter): Ditto.
      
      From-SVN: r123626
      Uros Bizjak committed
    • langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_SAFE_FROM_P. · 9c269bf8
      2007-04-06  Daniel Berlin  <dberlin@dberlin.org>
      
      	* langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove
      	LANG_HOOKS_SAFE_FROM_P.
      	* expr.c (safe_from_p): Remove langhook call.
      	* langhooks.h (lang_hooks): Remove safe_from_p.
      	(lhd_safe_from_p): Remove prototype.
      	* langhooks.c (lhd_safe_from_p): Remove.
      
      From-SVN: r123624
      Daniel Berlin committed