1. 17 Feb, 2010 7 commits
    • re PR c++/11238 (A constructor with exception handler rethrows the exception to… · bf646aaf
      re PR c++/11238 (A constructor with exception handler rethrows the exception to the constructor caller)
      
              PR 11238
              * Makefile.tpl (local-distclean): Also remove config.cache files in
              sub-directories as there may not be Makefiles present in the
              sub-directories.
              * Makefile.in: Regenerate.
              * configure.ac: Revert previous delta.
              * configure: Regenerate.
      
      From-SVN: r156826
      Nick Clifton committed
    • tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis to loop PHI nodes. · a95740b3
      2010-02-17  Richard Guenther  <rguenther@suse.de>
      
      	* tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis
      	to loop PHI nodes.
      
      From-SVN: r156825
      Richard Guenther committed
    • re PR middle-end/41043 (virtual memory exhausted: Cannot allocate memory) · 68326806
      2010-02-16  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/41043
      	* gfortran.dg/pr41043.f90: New testcase.
      	* gcc.dg/Wstrict-overflow-18.c: XFAIL.
      
      From-SVN: r156824
      Richard Biener committed
    • re PR debug/42918 ("-fcompare-debug failure" with "-O2 -ftracer" (2)) · 169e464e
      	PR debug/42918
      	* caller-save.c (save_call_clobbered_regs): If BB ends with
      	a DEBUG_INSN, move any notes in between last real insn and the last
      	DEBUG_INSN after the last DEBUG_INSN.
      
      	* gcc.dg/pr42918.c: New test.
      
      From-SVN: r156823
      Jakub Jelinek committed
    • ios_locale.cc: Fixes for -pedantic. · 32ade559
       2010-02-16  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/ios_locale.cc: Fixes for -pedantic.
      	* src/system_error.cc: Same.
      	* src/locale.cc: Same.
      	* src/list.cc: Same.
      	* src/locale_facets.cc: Same.
      	* src/locale_init.cc: Same.
      	* src/ios.cc: Same.
      	* config/locale/darwin/ctype_members.cc: Same.
      	* config/locale/gnu/collate_members.cc: Same.
      	* config/locale/gnu/ctype_members.cc: Same.
      	* config/locale/gnu/c_locale.cc: Same.
      	* config/locale/gnu/monetary_members.cc: Same.
      	* config/locale/gnu/time_members.cc: Same.
      	* config/locale/ieee_1003.1-2001/c_locale.cc: Same.
      	* config/locale/generic/collate_members.cc: Same.
      	* config/locale/generic/ctype_members.cc: Same.
      	* config/locale/generic/c_locale.cc: Same.
      	* config/locale/generic/monetary_members.cc: Same.
      	* config/locale/generic/time_members.cc: Same.
      	* config/io/basic_file_stdio.cc: Same.
      
      	* libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
      	* libsupc++/pointer_type_info.cc: Same.
      	* libsupc++/eh_personality.cc: Same.
      
      	* include/std/system_error: Throw spacing.
      	* include/bits/locale_classes.h: Same.
      	* include/bits/locale_facets.h: Same.
      	* include/bits/ios_base.h: Same.
      
      	* testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
      	* testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New
      
      From-SVN: r156822
      Benjamin Kosnik committed
    • Require ILP32 for stdcall attribute test. · bc349d0a
      2010-02-16  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* g++.dg/ext/attrib36.C: Require ILP32.
      
      From-SVN: r156821
      H.J. Lu committed
    • Daily bump. · 7cec0b1d
      From-SVN: r156819
      GCC Administrator committed
  2. 16 Feb, 2010 13 commits
    • random.h (linear_congruential_engine(_Sseq&), [...]): Do not enable for the type itself. · 05eeebfe
      2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/random.h (linear_congruential_engine(_Sseq&),
      	mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
      	Do not enable for the type itself.
      	(discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
      	shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
      	(linear_congruential_engine<>::seed(_Sseq&),
      	mersenne_twister_engine<>::seed(_Sseq&),
      	subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
      	return type.
      	(discard_block_engine<>::seed(_Sseq&),
      	independent_bits_engine<>::seed(_Sseq&),
      	shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
      	* include/bits/random.tcc: Adjust definitions.
      	* testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
      	New.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
      	copy.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/
      	copy.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/cons/
      	copy.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/cons/
      	copy.cc: Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/cons/
      	copy.cc: Likewise.
      
      	* testsuite/26_numerics/random/independent_bits_engine/cons/
      	base_move.cc: Minor tweaks.
      	* testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
      	Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
      	Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/cons/
      	base_copy.cc: Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/cons/
      	seed_seq.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
      	seed1.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
      	seed2.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
      	seed_seq.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
      	Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
      	Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
      	Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/cons/
      	seed_seq.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/cons/
      	seed1.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/cons/
      	seed2.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/cons/
      	seed_seq.cc: Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
      	Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
      	Likewise.
       	* testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
      	Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
      	Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
      	Likewise.
      
      From-SVN: r156815
      Paolo Carlini committed
    • tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Fix return type. · 5498b6d2
      	* tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC):
      	Fix return type.  Fix argument type.  Explain meaning of return value.
      
      From-SVN: r156814
      Joern Rennecke committed
    • re PR middle-end/41043 (virtual memory exhausted: Cannot allocate memory) · b09bae68
      2010-02-16  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/41043
      	* tree-vrp.c  (vrp_var_may_overflow): Only ask SCEV for
      	real loops.
      	(vrp_visit_assignment_or_call): Do not ask SCEV for regular
      	statements ...
      	(vrp_visit_phi_node): ... but only for loop PHI nodes.
      
      	* gfortran.dg/pr41043.f90: New testcase.
      	* gcc.dg/Wstrict-overflow-18.c: XFAIL.
      
      From-SVN: r156808
      Richard Guenther committed
    • unique_ptr.h: (unique_ptr<>:: unique_ptr(const unique_ptr<_Up... · d779a591
      2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/unique_ptr.h: (unique_ptr<>::
      	unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
      	operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
      	per DR 1303.
      	* include/bits/shared_ptr.h (shared_ptr<>::
      	shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
      	operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
      	* include/bits/shared_ptr_base.h (__shared_ptr<>::
      	__shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
      	operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
      	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
      	* testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
      	Likewise.
      
      From-SVN: r156807
      Paolo Carlini committed
    • * g++.dg/cpp0x/initlist-opt.C: Declare max_val inline. · 7c7580ef
      From-SVN: r156804
      Jason Merrill committed
    • * cp-gimplify.c (cp_gimplify_expr): Fix error recovery. · 0d08582e
      From-SVN: r156803
      Jason Merrill committed
    • re PR tree-optimization/43074 (ICE in vectorizable_reduction, at tree-vect-loop.c:3491) · 99f51320
      
      	PR tree-optimization/43074
      	* tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New.
      	* tree-vect-loop.c (vect_analyze_loop_operations): Add
      	vectorizable cycles in hybrid SLP check.
      	* tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise.
      
      From-SVN: r156800
      Ira Rosen committed
    • alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. · f47e08d9
      2010-02-16  Richard Guenther  <rguenther@suse.de>
      
      	* alias.c (memrefs_conflict_p): Distinguish must-alias from
      	don't know.
      	(true_dependence): If memrefs_conflict_p computes must-alias
      	trust it.  Move TBAA check after offset-based disambiguation.
      	(canon_true_dependence): Likewise.
      
      From-SVN: r156797
      Richard Guenther committed
    • re PR fortran/43040 (Wrong decl for mathbuiltins -> wrong code with LTO) · 7bc19392
      2010-02-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/43040
              * gfortran.h (gfc_isym_id): Rename GFS_ISYM_GAMMA to
              * GFS_ISYM_TGAMMA.
              * intrinsic.c (add_functions): Ditto.
              * iresolve.c (gfc_resolve_gamma): Call tgamma instead of gamma.
              * mathbuiltins.def: Use TGAMMA instead of GAMMA with "tgamma".
      
      From-SVN: r156796
      Tobias Burnus committed
    • params.def (PARAM_MAX_VARTRACK_SIZE): New. · ec8c3978
      	* params.def (PARAM_MAX_VARTRACK_SIZE): New.
      	* doc/invoke.texi: Document it.
      	* var-tracking.c: Include toplev.h and params.h.
      	(vt_find_locations): Return bool indicating success.  Compute
      	hash sizes unconditionally.  Check new parameter, report.
      	(variable_tracking_main_1): Check vt_find_locations results and
      	retry.  Renamed from...
      	(variable_tracking_main): ... this.  New wrapper to preserve
      	flag_var_tracking_assignments.
      	* Makefile.in (var-tracking.o): Adjust dependencies.
      
      	* lib/prune.exp: Prune variable tracking size limit exceeded
      	notes.
      
      From-SVN: r156794
      Jakub Jelinek committed
    • re PR c++/43031 (internal compiler error: verify_gimple failed after non-trivial… · 1e2ddf80
      re PR c++/43031 (internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox)
      
      	PR c++/43031
      	* cp-gimplify.c (cp_gimplify_expr) [MODIFY_EXPR]: Use
      	VIEW_CONVERT_EXPR for conversions between structural equality types
      	that the back end can't tell are the same.
      
      From-SVN: r156793
      Jason Merrill committed
    • re PR c++/43036 (c++ compilation hang) · 38e40fcd
      	PR c++/43036
      	* tree.c (build_cplus_array_type): Set TYPE_MAIN_VARIANT to strip
      	cv-quals from element here.
      	(cp_build_qualified_type_real): Not here.  Preserve typedef name.
      
      From-SVN: r156792
      Jason Merrill committed
    • Daily bump. · d96f5ff5
      From-SVN: r156789
      GCC Administrator committed
  3. 15 Feb, 2010 13 commits
  4. 14 Feb, 2010 7 commits