1. 10 Apr, 2007 11 commits
    • Daily bump. · 0334147d
      From-SVN: r123706
      GCC Administrator committed
    • 2007-04-10 Eric Christopher <echristo@apple.com> · 3783f026
              * lib/target-supports.exp
              (check_effective_target_fstack_protector): Rewrite.
      
      From-SVN: r123702
      Eric Christopher committed
    • Add to last commit. · 246b8cf5
      From-SVN: r123701
      Eric Christopher committed
    • i386.h (X87_FLOAT_MODE_P): New. · 54a88090
      2007-04-10  Eric Christopher  <echristo@apple.com>
      
      	    * config/i386/i386.h (X87_FLOAT_MODE_P): New.
      	    * config/i386/i386.md (*cmpfp0): Use.
      	    (*cmpfp_u, *cmpfp_<mode>, *cmpfp_i_i387): Ditto.
      	    (*cmpfp_iu_387, fix_trunc<mode>_fisttp_i386_1): Ditto.
      	    (fix_trunc<mode>_i386_fisttp): Ditto.
      	    (fix_trunc<mode>_i387_fisttp_with_temp): Ditto.
      	    (*fix_trunc<mode>_i387_1, fix_truncdi_i387): Ditto.
      	    (fix_truncdi_i387_with_temp, fix_trunc<mode>_i387): Ditto.
      	    (fix_trunc<mode>_i387_with_temp, *fp_jcc_1_387): Ditto.
      	    (*fp_jcc_2_387, *fp_jcc_5_387, *fp_jcc_6_387): Ditto.
      	    (*fp_jcc_7_387, *fp_jcc_8<mode>_387): Ditto.
      	    (unnamed_splitters): Ditto.
      	    * config/i386/i386.c (output_fix_trunc): Assert that
      	    we're not being passed a TFmode operand.
      
      From-SVN: r123700
      Eric Christopher committed
    • re PR tree-optimization/31526 (ICE in alloc_aux_for_block()) · 7c57be85
      	PR tree-optimization/31526
      	* tree-inline.c (copy_cfg_body): Use last_basic_block instead of
      	n_basic_blocks to find newly added blocks.
      
      From-SVN: r123699
      Zdenek Dvorak committed
    • sources.am: Regenerate. · a93fc289
              * sources.am: Regenerate.
              * Makefile.in: Likewise.
      
      From-SVN: r123697
      Keith Seitz committed
    • cmath: Include <bits/stl_algobase.h> instead of the whole <algorithm>. · d81db5b0
      2007-04-10  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/cmath: Include <bits/stl_algobase.h> instead of
      	the whole <algorithm>.
      
      From-SVN: r123696
      Paolo Carlini committed
    • type_traits (__is_function_helper): New, uses variadic templates. · 05beb8e7
      2007-04-10  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/type_traits (__is_function_helper): New, uses
      	variadic templates.
      	(is_function): Forward to the latter.
      	* testsuite/tr1/4_metaprogramming/primary_type_categories/
      	is_function/is_function.cc: Add test.
      
      From-SVN: r123695
      Paolo Carlini committed
    • i386.md (fix_trunc<mode>di_sse): Remove "x" from "xm" alternative. · 0218c012
      	* config/i386/i386.md (fix_trunc<mode>di_sse): Remove "x" from "xm"
      	alternative.
      	(fix_trunc<mode>si_sse): Ditto.
      	(*floatsisf2_mixed, *floatsisf2_sse): Ditto.
      	(*floatsidf2_mixed, *floatsidf2_sse): Ditto.
      	(*floatdisf2_mixed, *floatdisf2_sse): Ditto.
      	(*floatdidf2_mixed, *floatdidf2_sse): Ditto.
      	(floathi<mode>2): Rename from floathisf2 and floathidf2. Macroize
      	expander using SSEMODEF mode macro.
      	(floatsi<mode>2): Rename from floatsisf2 and floashidf2. Macroize
      	expander using SSEMODEF mode macro.
      	(*floathi<mode>2_i387): Rename from *floathisf2_i387 and
      	*floathidf2_i387. Macroize insn using X87MODEF12 mode macro.
      	(*floatsi<mode>2_i387): Rename from *floatsisf2_i387 and
      	*floatsidf2_i387. Macroize insn using X87MODEF12 mode macro.
      	(*floatdi<mode>2_i387): Rename from *floatdisf2_i387 and
      	*floatdidf2_i387. Macroize insn using X87MODEF12 mode macro.
      	(float<mode>xf2): Rename from floathixf2, floatsixf2 and floatdixf2.
      	Macroize insn using X87MODEF mode macro.
      
      From-SVN: r123693
      Uros Bizjak committed
    • PR libstdc++/28277 (partial: vstring bits) · 11202768
      2007-04-10  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/28277 (partial: vstring bits)
      	* include/bits/ostream_insert.h: New.
      	* include/Makefile.am: Add.
      	* include/ext/vstring.h (operator<<(basic_ostream<>&,
      	const __versa_string<>&): Forward to __ostream_insert.
      	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
      	const string<>&)): Likewise.
      	* include/std/ostream (operator<<(basic_ostream<>&, _CharT),
      	operator<<(basic_ostream<char,>&, char), operator<<(basic_ostream<>&,
      	const _CharT*), operator<<(basic_ostream<char,>&, const char*)):
      	Likewise.
      	* include/ext/vstring.tcc (operator<<(basic_ostream<>&,
      	const __versa_string<>&)): Remove.
      	(class basic_ostream): Remove friend declarations.
      	(basic_ostream<>::_M_write(char_type, streamsize),
      	_M_insert(const char_type*, streamsize)): Remove.
      	* include/bits/ostream.tcc (_M_insert(const char_type*, streamsize)):
      	Remove definition.
      	(operator<<(basic_ostream<>&, const char*)): Use __ostream_insert.
      	* config/abi/pre/gnu.ver: Adjust.
      	* src/ostream-inst.cc: Add __ostream_insert instantiations.
      	* include/bits/locale_facets.h (__pad<>::_S_pad): Remove __num
      	parameter.
      	* include/bits/locale_facets.tcc (__pad<>::_S_pad): Adjust.
      	(num_put<>::_M_pad(_CharT, streamsize, ios_base&, _CharT*,
      	const _CharT*, int&)): Likewise.
      	* include/Makefile.in: Rebuild.
      	* testsuite/ext/vstring/inserters_extractors/char/28277.cc: New.
      	* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: New.
      
      	* include/ext/vstring_util.h: Do not include the whole <locale>.
      	* include/ext/vstring.tcc (operator>>(basic_istream<>&,
      	__versa_string<>&, getline(basic_istream<>&, __versa_string<>&,
      	_CharT)): Tweak to refer to ios_base as a base of istream; do not
      	refer to non-standard types of istream.
      	* include/bits/istream.tcc (operator>>(basic_istream<>&, _CharT*),
      	ws(basic_istream<>&)): Do not refer to non-standard types of istream.
      	* include/std/bitset (operator>>(std::basic_istream<>&, bitset<>&)):
      	Avoid using basic_streambuf<>*.
      
      	* include/bits/istream.tcc (operator>>(basic_istream<>&,
      	basic_string<>&), getline(basic_istream<>&, basic_string<>&, _CharT)):
      	Move...
      	* include/bits/basic_string.tcc: ... here; tweak to refer to ios_base
      	as a base of istream; do not refer to non-standard types of istream.
      	* include/std/string: Tweak includes.
      
      	* include/ext/type_traits.h (__is_null_pointer): Add.
      	* include/ext/rc_string_base.h: Use it.
      	* include/ext/sso_string_base.h: Likewise.
      	* include/bits/basic_string.tcc (__is_null_pointer): Remove, use
      	the above.
      	* include/ext/vstring_util.h (__vstring_utility<>::_S_is_null_pointer):
      	Remove.
      
      From-SVN: r123692
      Paolo Carlini committed
    • sse.md (sse2_pinsrw): Removed. · 3117d1b5
      2007-04-09  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/sse.md (sse2_pinsrw): Removed.
      	(sse2_pextrw): Renamed to ...
      	(*sse2_pextrw): This.
      
      From-SVN: r123689
      H.J. Lu committed
  2. 09 Apr, 2007 14 commits
    • Daily bump. · eb908811
      From-SVN: r123685
      GCC Administrator committed
    • 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
  3. 08 Apr, 2007 7 commits
  4. 07 Apr, 2007 8 commits