1. 02 Nov, 2011 9 commits
    • re PR tree-optimization/50902 (intVar/dinternal.cc ICEs at -O2 -ftree-vectorize) · 98f4fb34
      2011-11-02  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/50902
      	* tree-vect-stmts.c (vectorizable_load): Properly convert
      	an invariant initializer element.
      
      	* gcc.dg/torture/pr50902.c: New testcase.
      
      From-SVN: r180765
      Richard Guenther committed
    • re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) · 31645179
      2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/50951
      	* include/bits/random.tcc (operator<<(basic_ostream<>&,
      	const mersenne_twister_engine<>&): Output _M_p too.
      	(operator<<(basic_ostream<>&, const
      	subtract_with_carry_engine<>&): Likewise.
      	(operator>>(basic_istream<>&, mersenne_twister_engine<>&):
      	Reload it.
      	(operator>>(basic_istream<>&, subtract_with_carry_engine<>&):
      	Likewise.
      	* include/bits/random.h (mersenne_twister_engine<>::operator==):
      	Compare _M_p too.
      	(subtract_with_carry_engine<>::operator==): Compare _M_carry
      	and _M_p too.
      	(shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too.
      	* testsuite/26_numerics/random/independent_bits_engine/
      	operators/serialize.cc: Extend.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/
      	operators/serialize.cc: Likewise.
      
      From-SVN: r180764
      Paolo Carlini committed
    • re PR middle-end/50890 (ICE in fold_convert_loc, at fold-const.c:1894) · e021c122
      2010-11-02  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/50890
      	* gimple.h (gimple_fold_call): Remove.
      	* gimple-fold.c (fold_stmt_1): Move all call related code to ...
      	(gimple_fold_call): ... here.  Make static.  Update the
      	cannot-inline flag on direct calls.
      	* ipa-inline.c (early_inliner): Copy the cannot-inline flag
      	from the statements to the edges.
      
      	* gcc.dg/torture/pr50890.c: New testcase.
      
      From-SVN: r180763
      Richard Guenther committed
    • godump.c (struct macro_hash_value): Define. · 5743331e
      	* godump.c (struct macro_hash_value): Define.
      	(macro_hash_hashval): New static function.
      	(macro_hash_eq, macro_hash_del): New static functions.
      	(go_define): Use macro_hash_value to store values in macro_hash.
      	Replace an old value on a redefinition.  Don't print anything to
      	go_dump_file.
      	(go_undef): Delete the entry from the hash table.
      	(go_output_typedef): For an enum, use macro_hash_value, and don't
      	print anything to go_dump_file.
      	(go_print_macro): New static function.
      	(go_finish): Traverse macro_hash with go_print_macro.
      	(dump_go_spec_init): Update macro_hash creation for
      	macro_hash_value.
      
      From-SVN: r180762
      Ian Lance Taylor committed
    • rs6000.c (rs6000_code_end): Declare ATTRIBUTE_UNUSED. · 1834883a
      	* config/rs6000/rs6000.c (rs6000_code_end): Declare ATTRIBUTE_UNUSED.
      
      From-SVN: r180761
      Alan Modra committed
    • c++config: Add tr2 to versioned namespaces. · 08624e90
      2011-11-02  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/c++config: Add tr2 to versioned namespaces.
      	* scripts/run_doxygen: Adjust generated man files as well.
      	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
      
      From-SVN: r180760
      Benjamin Kosnik committed
    • * config.sub: Update to version 2011-10-29 (added rl78) · 753a0ad8
      From-SVN: r180758
      DJ Delorie committed
    • future (promise): Add constructors for uses-allocator construction from rvalue promise. · 376d7c51
      	* include/std/future (promise): Add constructors for uses-allocator
      	construction from rvalue promise.
      	(packaged_task): Implement LWG 2067. Add additional constructors for
      	uses-allocator construction.
      	* testsuite/30_threads/packaged_task/cons/3.cc: New.
      	* testsuite/30_threads/packaged_task/cons/alloc2.cc: New.
      	* testsuite/30_threads/promise/cons/alloc2.cc: New.
      
      From-SVN: r180757
      Jonathan Wakely committed
    • Daily bump. · 095c8a94
      From-SVN: r180756
      GCC Administrator committed
  2. 01 Nov, 2011 27 commits
  3. 31 Oct, 2011 4 commits