1. 28 Nov, 2012 9 commits
    • stor-layout.c (layout_type): Do not clear TREE_OVERFLOW on overflowed zeroes,… · ce3da0d0
      stor-layout.c (layout_type): Do not clear TREE_OVERFLOW on overflowed zeroes, except in one specific case.
      
      	* stor-layout.c (layout_type) <ARRAY_TYPE>: Do not clear TREE_OVERFLOW
      	on overflowed zeroes, except in one specific case.
      ada/
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use
      	valid_constant_size_p to detect too large objects.
      	<E_Subprogram_Type>: Likewise for too large return types.
      	(allocatable_size_p): Call valid_constant_size_p in the fixed case.
      	(annotate_value) <INTEGER_CST>: Simplify.
      	<BIT_AND_EXPR>: Deal with negative values here.
      	* gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use
      	valid_constant_size_p to detect too large objects on the LHS.
      	* gcc-interface/misc.c (default_pass_by_ref): Likewise for large types.
      	And use TYPE_SIZE_UNIT throughout.
      	(must_pass_by_ref): Likewise.
      	* gcc-interface/utils.c (max_size) <tcc_unary>: Split from common case.
      	<tcc_binary>: Likewise.  Call size_binop instead of fold_build2.
      	<tcc_expression>: Simplify.
      	* gcc-interface/utils2.c (build_allocator): Use valid_constant_size_p
      	to detect too large allocations.
      
      From-SVN: r193886
      Eric Botcazou committed
    • re PR c++/55497 (Local array (char[]) initialized with a size taken from a… · fb1fbef2
      re PR c++/55497 (Local array (char[]) initialized with a size taken from a static variable creates an ICE)
      
      2012-11-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/55497
      	* g++.dg/init/pr55497.C: New.
      
      From-SVN: r193885
      Paolo Carlini committed
    • re PR middle-end/55266 (vector expansion: 24 movs for 4 adds) · e9d6bd8c
      2012-11-28  Marc Glisse  <marc.glisse@inria.fr>
      
      	PR middle-end/55266
      	* fold-const.c (fold_ternary_loc) [BIT_FIELD_REF]: Handle
      	CONSTRUCTOR with vector elements.
      	* tree-ssa-propagate.c (valid_gimple_rhs_p): Handle CONSTRUCTOR
      	and BIT_FIELD_REF.
      
      From-SVN: r193884
      Marc Glisse committed
    • re PR testsuite/55327 (FAIL: gcc.dg/vect/slp-perm-8.c scan-tree-dump-times vect… · 2c3e2ce2
      re PR testsuite/55327 (FAIL: gcc.dg/vect/slp-perm-8.c scan-tree-dump-times vect "vectorized 1 loops" 2)
      
      2012-11-28  Richard Biener  <rguenther@suse.de>
      
      	PR testsuite/55327
      	* gcc.dg/vect/slp-perm-8.c: Mark worker as noinline.
      	* gcc.dg/vect/slp-perm-9.c: Likewise.
      
      From-SVN: r193883
      Richard Biener committed
    • re PR c/35634 (operand of pre-/postin-/decrement not promoted) · cc3c4f62
      2012-11-28  Richard Biener  <rguenther@suse.de>
      
      	PR c/35634
      	* gimple.h (gimplify_self_mod_expr): Declare.
      	* gimplify.c (gimplify_self_mod_expr): Export.  Take a different
      	type for performing the arithmetic in.
      	(gimplify_expr): Adjust.
      	* tree-vect-loop-manip.c (vect_can_advance_ivs_p): Strip
      	sign conversions we can re-apply after adjusting the IV.
      
      	c-family/
      	* c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions
      	here and use a type with proper overflow behavior for types that would
      	need to be promoted for the arithmetic.
      
      	* gcc.dg/torture/pr35634.c: New testcase.
      	* g++.dg/torture/pr35634.C: Likewise.
      	* gcc.dg/vect/pr18536.c: Mark worker function noinline.
      
      From-SVN: r193882
      Richard Biener committed
    • functional (_Mem_fn): Constrain function call operators to avoid ambiguities. · b1c2b51b
      	* include/std/functional (_Mem_fn): Constrain function call operators
      	to avoid ambiguities. Use perfect forwarding.
      	* testsuite/20_util/function_objects/mem_fn/55463.cc: Additional
      	tests.
      	* testsuite/20_util/function_objects/mem_fn/forward.cc: New.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
      
      From-SVN: r193879
      Jonathan Wakely committed
    • Daily bump. · 69bccd4a
      From-SVN: r193878
      GCC Administrator committed
    • re PR rtl-optimization/55006 (aermod.f90 is miscompiled with '-m64 -O2… · 4a0c3fde
      re PR rtl-optimization/55006 (aermod.f90 is miscompiled with '-m64 -O2 -funroll-loops' after revision 192526)
      
      	PR rtl-optimization/55006
      	* loop-unroll.c (struct iv_to_split): Add new 'orig_var' member.
      	(analyze_iv_to_split_insn): Record it.
      	(maybe_strip_eq_note_for_split_iv): New function to remove REG_EQUAL
      	notes that refer to IVs that are being split.
      	(apply_opt_in_copies): Use maybe_strip_eq_note_for_split_iv.  Twice.
      	Use FOR_BB_INSNS_SAFE.
      
      From-SVN: r193876
      Steven Bosscher committed
    • compiler: Implement //go:nointerface comments. · f6338016
      From-SVN: r193874
      Ian Lance Taylor committed
  2. 27 Nov, 2012 22 commits
  3. 26 Nov, 2012 9 commits