1. 18 Feb, 2009 5 commits
    • 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 5 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
    • revert: configure.ac: Enable LFS. · 68c9ab45
      Revert
      2009-02-13  Richard Guenther  <rguenther@suse.de>
      
      	* configure.ac: Enable LFS.
      	* configure: Re-generate.
      	* config.in: Likewise.
      
      	libcpp/
      	* configure.ac: Enable LFS.
      	* configure: Re-generate.
      	* config.in: Likewise.
      
      From-SVN: r144189
      Richard Guenther committed
    • w_prof_single_str_global.c: Mask return value. · e2721e12
      	* gcc.dg/struct/w_prof_single_str_global.c: Mask return value.
      
      From-SVN: r144187
      Uros Bizjak committed
    • Daily bump. · ee38f2a2
      From-SVN: r144185
      GCC Administrator committed
  5. 14 Feb, 2009 2 commits
    • spu_internals.h (spu_sr, [...]): Define. · d7815554
      ChangeLog:
      
      	* config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
      	spu_srqwbyte, spu_srqwbytebc): Define.
      	* config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
      	spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
      	* config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
      	"shrqby_<mode>"): New insn-and-split patterns.
      	* config/spu/spu.c (expand_builtin_args): Determine and return
      	number of operands using spu_builtin_description data.
      	(spu_expand_builtin_1): Use it.
      
      testsuite/ChangeLog:
      
      	* gcc.target/spu/intrinsics-sr.c: New test.
      
      From-SVN: r144178
      Ulrich Weigand committed
    • Daily bump. · 64cfbcc3
      From-SVN: r144176
      GCC Administrator committed
  6. 13 Feb, 2009 5 commits
    • thread (_Impl_base): Move _M_id out and into ... · 626dda69
      2009-02-13  Chris Fairles  <cfairles@gcc.gnu.org>
      	    Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/thread (_Impl_base): Move _M_id out and into ...
      	(thread): ...here. Call _M_make_routine in body of constructors.
      	Adjust data member usage to reflect changes.
      	(_M_make_routine): From _M_make_shared_data.
      	(_M_start_thread): Add __shared_base_type argument.
      	* src/thread.cc: Fixups for above.
      	* config/abi/pre/gnu.ver: Adjust exports.
      	* testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
      	* testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
      	* testsuite/30_threads/thread/cons/copy_neg.cc: Same.
      
      
      Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
      
      From-SVN: r144171
      Chris Fairles committed
    • re PR fortran/38259 (Add version number to .mod file) · 2d05f84d
      2009-02-13  Mikael Morin  <mikael.morin@tele2.fr>
      
              PR fortran/38259
              * module.c (gfc_dump_module,gfc_use_module): Add module
              version number.
      
      From-SVN: r144169
      Mikael Morin committed
    • re PR target/38056 (Missed tail calls on ia64) · c208436c
      	PR target/38056
      	* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
      	TARGET_CONST_GP.
      	* gcc.target/ia64/sibcall-opt-1.c: New test.
      	* gcc.target/ia64/sibcall-opt-2.c: New test.
      
      From-SVN: r144168
      Steve Ellcey committed
    • re PR fortran/36703 (ICE (segfault) in reduce_binary0 (arith.c:1778)) · 686c82b5
      2009-02-13  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/36703
      	PR fortran/36528
      	* trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer
      	function references to ensure that a valid expression is used.
      	(gfc_conv_function_call): Pass Cray pointers to procedures.
      
      2009-02-13  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/36528
      	* gfortran.dg/cray_pointers_8.f90: New test.
      
      	PR fortran/36703
      	* gfortran.dg/cray_pointers_9.f90: New test.
      
      From-SVN: r144164
      Paul Thomas committed
    • re PR c++/39070 (ICE with typeof() (... and __decltype)) · da964fea
              PR c++/39070
              * semantics.c (finish_call_expr): Change koenig_p parm to int.
              If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates.
              * cp-tree.h: Adjust prototype.
              * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1.
      
      From-SVN: r144161
      Jason Merrill committed