1. 18 Feb, 2009 15 commits
    • re PR testsuite/38166 (g++.dg/ext/visibility/class1.C fails at -m64 on i686-apple-darwin9) · 4a877673
      2009-02-18  Jack Howarth <howarth@bromo.med.uc.edu>
      
      	PR testsuite/38166
      	* g++.dg/ext/visibility/class1.C: Revert revision 122348
      	and skip on Darwin.
      
      From-SVN: r144274
      Jack Howarth committed
    • re PR target/39224 (ABI attribute doesn't work with long double) · fd7b2603
      2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/39224
      	* config/i386/i386.c (ix86_return_in_memory): Properly check
      	ABI.
      
      From-SVN: r144272
      H.J. Lu committed
    • revert accidental commit · a669372a
      From-SVN: r144271
      Jason Merrill committed
    • re PR target/39179 (Wrong code in c++ for const members initialized in external file) · 98b80692
              PR target/39179
              * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
              value if DECL_EXTERNAL.
              * tree-sra.c (sra_walk_gimple_assign): Likewise.
              * target.h (gcc_target::binds_local_p): Clarify module.
              * tree.h (TREE_PUBLIC): Clarify module.
      
      From-SVN: r144270
      Jason Merrill committed
    • fix typo · 1e80963d
      From-SVN: r144269
      Jason Merrill committed
    • gfortran.texi: New chapter about compiler characteristics. · 71810d0e
      2009-02-18  Daniel Kraft  <d@domob.eu>
      
      	* gfortran.texi: New chapter about compiler characteristics.
      	(Compiler Characteristics): Document KIND type parameters here.
      
      From-SVN: r144268
      Daniel Kraft committed
    • misc.c (gnat_post_options): Turn off warn_psabi. · e98c0739
      2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
      
      From-SVN: r144267
      H.J. Lu committed
    • intrinsic.texi (MALLOC): Make example more portable. · 8c685e61
      2009-02-18  Tobias Burnus  <burnus@net-b.de>
      
             * intrinsic.texi (MALLOC): Make example more portable.
      
      From-SVN: r144266
      Tobias Burnus committed
    • callabi.exp: Moved to ... · 19e56697
      2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.dg/callabi/callabi.exp: Moved to ...
      	* gcc.target/x86_64/abi/callabi/callabi.exp: Here.  Only run
      	in 64bit mode.
      
      	* gcc.target/x86_64/abi/callabi/func-1.c: Don't check target.
      	* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
      	* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
      	* gcc.target/x86_64/abi/callabi/pr38891.c: Likewise.
      	* gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise.
      	* gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise.
      	* gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise.
      
      	* gcc.dg/callabi/callabi.h: Moved to ...
      	* gcc.target/x86_64/abi/callabi/callabi.h: Here.
      
      	* gcc.dg/callabi/func-1.c: Moved to ...
      	* gcc.target/x86_64/abi/callabi/func-1.c: Here.
      
      	* gcc.dg/callabi/func-indirect.c: Moved to ...
      	* gcc.target/x86_64/abi/callabi/func-indirect.c: Here.
      
      	* gcc.dg/callabi/pr38891.c: Moved to ...
      	* gcc.target/x86_64/abi/callabi/pr38891.c: Here.
      
      	* gcc.dg/callabi/vaarg-1.c: Moved to ...
      	* gcc.target/x86_64/abi/callabi/vaarg-1.c: Here.
      
      	* gcc.dg/callabi/vaarg-2.c: Moved to ...
      	* gcc.target/x86_64/abi/callabi/vaarg-2.c: Here.
      
      	* gcc.dg/callabi/vaarg-3.c: Moved to ...
      	* gcc.target/x86_64/abi/callabi/vaarg-3.c: Here.
      
      From-SVN: r144264
      H.J. Lu committed
    • MAINTAINERS (Write After Approval): Add myself. · b0adb088
      2009-02-18  Bingfeng Mei  <bmei@broadcom.com>
      
      	* MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r144260
      Bingfeng Mei committed
    • system_error (system_category): To system_category(). · 9b3003d5
      2009-02-17  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/system_error (system_category): To system_category().
      	(generic_category): To generic_category. DR 890.
      	* src/system_error.cc: Define.
      	* include/bits/functexcept.h: Only one __throw_system_error.
      	* src/functexcept.cc: Same.
      	* include/std/mutex: Fixup for changes above.
      	* testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
      	* testsuite/19_diagnostics/error_code/cons/1.cc: Same.
      	* testsuite/19_diagnostics/system_error/cons-1.cc: Same.
      	* config/abi/pre/gnu.ver: Clean up exports.
      
      From-SVN: r144259
      Benjamin Kosnik committed
    • re PR target/38891 (using ms_abi function attribute with -mno-sse generates an… · 0705d3f4
      re PR target/38891 (using ms_abi function attribute with -mno-sse generates an internal compiler error)
      
      gcc/
      
      2009-02-17  Xuepeng Guo  <xuepeng.guo@intel.com>
      
      	PR target/38891
      	* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
      	initialization for MS_ABI prior to the hunk of !TARGET_MMX.
      
      gcc/testsuite
      
      2009-02-17  Xuepeng Guo  <xuepeng.guo@intel.com>
      
      	PR target/38891
      	* gcc.dg/callabi/pr38891.c: New.
      
      2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.dg/callabi/callabi.exp: New.
      
      From-SVN: r144258
      H.J. Lu committed
    • re PR target/39082 (union with long double doesn't follow x86-64 psABI) · bce08d50
      gcc/
      
      2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/39082
      	* c.opt (Wabi): Support C and ObjC.
      	(Wpsabi): New.
      
      	* c-opts.c (c_common_handle_option): Handle OPT_Wabi.
      
      	* config/i386/i386.c (classify_argument): Warn once about the ABI
      	change when passing union with long double.
      
      	* doc/invoke.texi: Update -Wabi for warning psABI changes.
      
      gcc/testsuite/
      
      2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/39082
      	* g++.dg/compat/struct-layout-1_generate.c (dg_options): Add
      	-Wno-abi for x86.
      	* gcc.dg/compat/struct-layout-1_generate.c (dg_options): Likewise.
      
      	* gcc.target/i386/pr39082-1.c: New.
      
      	* gcc.target/x86_64/abi/abi-x86_64.exp (additional_flags): Add
      	-Wno-abi.
      
      	* gcc.target/x86_64/abi/args.h (XMM_T): Add _m64 and _m128 if
      	CHECK_M64_M128 is defined.
      	(check_f_arguments): Add "do".
      	(check_vector_arguments): New.
      	(check_m64_arguments): Likewise.
      	(check_m128_arguments): Likewise.
      
      	* gcc.target/x86_64/abi/defines.h: Include <xmmintrin.h>.
      	(CHECK_M64_M128): Define.
      
      	* gcc.target/x86_64/abi/test_m64m128_returning.c: New.  Based
      	on abitest.
      	* gcc.target/x86_64/abi/test_passing_m64m128.c: Likewise.
      
      	* gcc.target/x86_64/abi/test_passing_structs.c: Define __m128
      	tests only if CHECK_M64_M128 is defined.
      
      	* gcc.target/x86_64/abi/test_passing_structs.c (m128_struct): New.
      	(m128_2_struct): Likewise.
      	(check_struct_passing5): Likewise.
      	(check_struct_passing6): Likewise.
      	(main): Test struct with __m128 if CHECK_M64_M128 is defined.
      
      	* gcc.target/x86_64/abi/test_passing_unions.c (un4): New.
      	(un5): Likewise.
      	(check_union_passing4): Likewise.
      	(main): Test union with __m128 if CHECK_M64_M128 is defined.
      
      From-SVN: r144257
      H.J. Lu committed
    • re PR c/35447 (ICE with broken statement expression) · 5600f233
      	PR c/35447
      	* c-parser.c (c_parser_compound_statement): Always enter and leave
      	a scope.
      
      testsuite:
      	* gcc.dg/noncompile/pr35447-1.c: New test.
      
      From-SVN: r144256
      Joseph Myers committed
    • Daily bump. · afd1efee
      From-SVN: r144254
      GCC Administrator committed
  2. 17 Feb, 2009 16 commits
  3. 16 Feb, 2009 7 commits
  4. 15 Feb, 2009 2 commits
    • re PR rtl-optimization/39196 (ICE in copyprop_hardreg_forward_1, at… · 47f5a48f
      re PR rtl-optimization/39196 (ICE in copyprop_hardreg_forward_1, at regrename.c:1603 during libjava compile)
      
      2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/39196
      	* config/i386/i386.md: Restrict the new peephole2 to move
      	between MMX/SSE registers.
      
      From-SVN: r144191
      H.J. Lu committed
    • re PR libstdc++/39168 (Incorrect interpretation of CHAR_MAX inside grouping… · bbcac3be
      re PR libstdc++/39168 (Incorrect interpretation of CHAR_MAX inside grouping string in monetary and numeric facets.)
      
      2009-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/39168
      	* src/locale_facets.cc (__verify_grouping(const char*, size_t,
      	const string&)): Also check that the value != CHAR_MAX.
      	* include/bits/locale_facets.tcc (__numpunct_cache<>::
      	_M_cache(const locale&), __add_grouping(_CharT*, _CharT,
      	const char*, size_t, const _CharT*, const _CharT*)): Likewise.
      	* include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
      	_M_cache(const locale&)): Likewise.
      	* testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
      	* testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
      
      From-SVN: r144190
      Paolo Carlini committed