1. 12 Oct, 2011 14 commits
    • re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) · 578f0234
      2011-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50594
      	* decl.c (cxx_init_decl_processing): Add
      	__attribute__((externally_visible)) to operator new and
      	operator delete library fn.
      
      2011-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50594
      	* libsupc++/new (operator new, operator delete): Decorate with
      	__attribute__((__externally_visible__)).
      	* include/bits/c++config: Add _GLIBCXX_THROW.
      	* libsupc++/del_op.cc: Adjust.
      	* libsupc++/del_opv.cc: Likewise.
      	* libsupc++/del_opnt.cc: Likewise.
      	* libsupc++/del_opvnt.cc: Likewise.
      	* libsupc++/new_op.cc: Likewise.
      	* libsupc++/new_opv.cc: Likewise.
      	* libsupc++/new_opnt.cc: Likewise.
      	* libsupc++/new_opvnt.cc: Likewise.
      	* testsuite/18_support/50594.cc: New.
      	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
      	line number.
      
      From-SVN: r179863
      Paolo Carlini committed
    • Add -mfpmath=sse/-mtune=generic to FMA tests. · 0a6fa376
      2011-10-12  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/fma_run_double_1.c: Add -mfpmath=sse.
      	* gcc.target/i386/fma_run_double_2.c: Likewise.
      	* gcc.target/i386/fma_run_double_3.c: Likewise.
      	* gcc.target/i386/fma_run_double_4.c: Likewise.
      	* gcc.target/i386/fma_run_double_5.c: Likewise.
      	* gcc.target/i386/fma_run_double_6.c: Likewise.
      	* gcc.target/i386/fma_run_float_1.c: Likewise.
      	* gcc.target/i386/fma_run_float_2.c: Likewise.
      	* gcc.target/i386/fma_run_float_3.c: Likewise.
      	* gcc.target/i386/fma_run_float_4.c: Likewise.
      	* gcc.target/i386/fma_run_float_5.c: Likewise.
      	* gcc.target/i386/fma_run_float_6.c: Likewise.
      
      	* gcc.target/i386/l_fma_double_1.c: Add -mtune=generic and
      	remove the extra dg-options.
      	* gcc.target/i386/l_fma_double_2.c: Likewise.
      	* gcc.target/i386/l_fma_double_3.c: Likewise.
      	* gcc.target/i386/l_fma_double_4.c: Likewise.
      	* gcc.target/i386/l_fma_double_5.c: Likewise.
      	* gcc.target/i386/l_fma_double_6.c: Likewise.
      	* gcc.target/i386/l_fma_float_1.c: Likewise.
      	* gcc.target/i386/l_fma_float_2.c: Likewise.
      	* gcc.target/i386/l_fma_float_3.c: Likewise.
      	* gcc.target/i386/l_fma_float_4.c: Likewise.
      	* gcc.target/i386/l_fma_float_5.c: Likewise.
      	* gcc.target/i386/l_fma_float_6.c: Likewise.
      
      From-SVN: r179861
      H.J. Lu committed
    • i386.md (simple_return): Disable if TARGET_SEH is active. · c482a651
              * config/i386/i386.md (simple_return): Disable
              if TARGET_SEH is active.
      
      From-SVN: r179860
      Kai Tietz committed
    • ia64.c (ia64_init_builtins): Fix unbalanced parentheses. · ccea4a27
      2011-10-12  Steve Ellcey  <sje@cup.hp.com>
      
      	* config/ia64/ia64.c (ia64_init_builtins): Fix unbalanced parentheses.
      
      From-SVN: r179859
      Steve Ellcey committed
    • tree-ssa-alias.c (maybe_skip_until): Cache also at the point of the first store… · d660a3db
      tree-ssa-alias.c (maybe_skip_until): Cache also at the point of the first store we visit in a basic-block.
      
      2011-10-12  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-alias.c (maybe_skip_until): Cache also at the point
      	of the first store we visit in a basic-block.
      	(get_continuation_for_phi): Search for a candidate VUSE that
      	might dominates all others.  Do pairwise disambiguation against
      	that candidate.
      
      From-SVN: r179858
      Richard Guenther committed
    • re PR middle-end/50189 (Wrong code error in -O2 [-fstrict-enums] compile, target independent) · ebbcd0c6
      2011-10-12  Paul Koning  <pkoning@gcc.gnu.org>
      
      	PR tree-optimization/50189
      	* tree-vrp.c (extract_range_from_assert): Use the type of
      	the variable, not the limit.
      
      	* g++.dg/torture/pr50189.C: New testcase.
      
      From-SVN: r179857
      Paul Koning committed
    • invoke.texi (-fwhole-file): Update wording since -fwhole-file is now enabled by default. · 7e191522
      2011-10-11  Tobias Burnus  <burnus@net-b.de>
                  Janus Weil  <janus@gcc.gnu.org>
      
              * invoke.texi (-fwhole-file): Update wording since -fwhole-file
              is now enabled by default.
      
      
      Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
      
      From-SVN: r179854
      Tobias Burnus committed
    • re PR middle-end/50700 (__builtin_object_size computed wrong) · d837d73d
      2011-10-12  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/50700
      	* tree-object-size.c (addr_object_size): Simplify and treat
      	MEM_REF bases consistently.
      
      	* gcc.dg/builtin-object-size-12.c: New testcase.
      
      From-SVN: r179850
      Richard Guenther committed
    • function.c (prepare_shrink_wrap, [...]): New function. · 39d52ae5
      	* function.c (prepare_shrink_wrap, bb_active_p): New function.
      	(thread_prologue_and_epilogue_insns): Use bb_active_p.
      	Call prepare_shrink_wrap, then recompute bb_active_p for the
      	last block.
      
      From-SVN: r179848
      Bernd Schmidt committed
    • re PR c/50565 (initializer element is not computable at load time) · a2d5091a
      	PR c/50565
      	* convert.c (convert_to_integer): Do not narrow operands of
      	pointer subtraction.
      
      testsuite:
      	* gcc.c-torture/compile/pr50565-1.c,
      	gcc.c-torture/compile/pr50565-2.c: New tests.
      
      From-SVN: r179845
      Joseph Myers committed
    • arm.h (EMIT_EABI_ATTRIBUTE): New macro. · 58e9ddb1
      	* config/arm/arm.h (EMIT_EABI_ATTRIBUTE): New macro.  Used to
      	emit a .eabi_attribute assembler directive, possibly with a
      	comment attached.
      	* config/arm/arm.c (arm_file_start): Use the new macro.
      	* config/arm/arm-c.c (arm_output_c_attributes): Likewise.
      
      From-SVN: r179844
      Nick Clifton committed
    • re PR target/49939 ([avr] Skip 2-word instructions if applicable) · 9bc9ee67
      	PR target/49939
      	* config/avr/avr.md (*movqi): Rename to movqi_insn.
      	(*call_insn): Rename to call_insn.
      	(*call_value_insn): Rename to call_value_insn.
      	* config/avr/avr.c (avr_2word_insn_p): New static function.
      	(jump_over_one_insn_p): Use it.
      
      From-SVN: r179843
      Georg-Johann Lay committed
    • expr.h (copy_blkmode_to_reg): Declare. · 2ba87a29
      gcc/
      	* expr.h (copy_blkmode_to_reg): Declare.
      	* expr.c (copy_blkmode_to_reg): New function.
      	(expand_assignment): Don't expand register RESULT_DECLs before
      	the lhs.  Use copy_blkmode_to_reg to copy BLKmode values into a
      	RESULT_DECL register.
      	(expand_expr_real_1): Handle BLKmode decls when looking for promotion.
      	* stmt.c (expand_return): Move BLKmode-to-register code into
      	copy_blkmode_to_reg.
      
      From-SVN: r179839
      Richard Sandiford committed
    • Daily bump. · e755e543
      From-SVN: r179835
      GCC Administrator committed
  2. 11 Oct, 2011 22 commits
  3. 10 Oct, 2011 4 commits