1. 28 Feb, 2015 2 commits
  2. 27 Feb, 2015 26 commits
  3. 26 Feb, 2015 12 commits
    • extend.texi (Function Attributes): Fix spelling and typos. · 6fb04b89
      2015-02-26  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Function Attributes): Fix spelling and typos.
      	(Label Attributes): Likewise.
      	(Cilk Plus Builtins): Likewise.
      	(ARC SIMD Built-in Functions): Likewise.
      	(ARM C Language Extensions (ACLE)): Likewise.
      	(PowerPC Built-in Functions): Likewise.
      	(PowerPC Hardware Transactional Memory Built-in Functions):
      	Likewise.
      
      From-SVN: r221035
      Sandra Loosemore committed
    • re PR tree-optimization/65216 (wrong code at -O3 on x86_64-linux-gnu) · d288c0ab
      	PR tree-optimization/65216
      	* tree-ssa-reassoc.c (rewrite_expr_tree): Force creation of
      	new stmt and new SSA_NAME for lhs whenever the arguments have
      	changed and weren't just swapped.  Fix comment typo.
      
      	* gcc.c-torture/execute/pr65216.c: New test.
      
      From-SVN: r221034
      Jakub Jelinek committed
    • re PR tree-optimization/65215 (Bswap load miscompilation) · 5c2766c1
      	PR tree-optimization/65215
      	* tree-ssa-math-opts.c (find_bswap_or_nop_load): Return false
      	for PDP endian targets.
      	(perform_symbolic_merge, find_bswap_or_nop_1, find_bswap_or_nop):
      	Fix up formatting issues.
      	(bswap_replace): Likewise.  For BYTES_BIG_ENDIAN, if the final access
      	size is smaller than the original, adjust MEM_REF offset by the
      	difference of sizes.  Use is_gimple_mem_ref_addr instead of
      	is_gimple_min_invariant test to avoid adding address temporaries.
      
      	* gcc.c-torture/execute/pr65215-1.c: New test.
      	* gcc.c-torture/execute/pr65215-2.c: New test.
      	* gcc.c-torture/execute/pr65215-3.c: New test.
      	* gcc.c-torture/execute/pr65215-4.c: New test.
      	* gcc.c-torture/execute/pr65215-5.c: New test.
      
      From-SVN: r221033
      Jakub Jelinek committed
    • Add missing cleanup in go-gc-tests for cmpout · 890d89bc
      2015-02-26  Tom de Vries  <tom@codesourcery.com>
      
      	* go.test/go-test.exp (go-gc-tests): Add missing cleanup for cmpout.
      
      From-SVN: r221032
      Tom de Vries committed
    • re PR lto/64693 (PCH failed with --with-build-config=bootstrap-lto) · 5ebd0e61
      Fix PR ipa/64693
      
      	PR ipa/64693
      	* ipa-icf.c (symbol_compare_collection::symbol_compare_collection): New.
      	(sem_item_optimizer::subdivide_classes_by_sensitive_refs): New function.
      	(sem_item_optimizer::process_cong_reduction): Include division by
      	sensitive references.
      	* ipa-icf.h (struct symbol_compare_hashmap_traits): New class.
      	* ipa-ref.c (ipa_ref::address_matters_p): New function.
      	* ipa-ref.h (ipa_ref::address_matters_p): Likewise.
      	* g++.dg/ipa/pr64146.C: Update expected results.
      	* gcc.dg/ipa/ipa-icf-26.c: Update test.
      	* gcc.dg/ipa/ipa-icf-33.c: Remove redundant line.
      	* gcc.dg/ipa/ipa-icf-34.c: New test.
      
      Co-Authored-By: Jan Hubicka <hubicka@ucw.cz>
      
      From-SVN: r221031
      Martin Liska committed
    • Fix LTO bootstrap. · ff5ed3f6
      	* resolve.c: Rename enum 'comparison' to 'compare_result' as
      	solution for -Wodr issue.
      
      From-SVN: r221030
      Martin Liska committed
    • re PR target/65192 ([avr-tiny] ICE in tiny_valid_direct_memory_access_range) · d713426e
      	PR target/65192
      	* config/avr/avr-protos.h (tiny_valid_direct_memory_access_range):
      	Remove.
      	* config/avr/avr.c: Same.
      	(avr_legitimate_address_p) <AVR_TINY, CONSTANT_ADDRESS_P>:
      	Refuse any constant address not in 0..0xbf.
      	* config/avr/avr.md (*mov<mode>, *movsf): Remove
      	tiny_valid_direct_memory_access_range from insn conditions.
      	(mov<mode>): Don't special-case expansion of avrtiny addresses.
      
      From-SVN: r221029
      Georg-Johann Lay committed
    • vect-pr61917.c: Rename to ... · 7064d91e
      	* gcc.dg/vect/vect-pr61917.c: Rename to ...
      	* gcc.dg/vect/O3-vect-pr61917.c: ... this.
      	(dg-additional-options): Remove dg directive.
      	(dg-final): Add dg directive.
      
      From-SVN: r221027
      Uros Bizjak committed
    • re PR target/61142 ([SH] QImode/HImode @(R0,Rm),Rn does not load to Rn = R0) · dac2637b
      gcc/
      	PR target/61142
      	* config/sh/sh.c (sh_check_add_incdec_notes): New function.
      	* config/sh/sh-protos.h (sh_check_add_incdec_notes): Declare it.
      	* config/sh/predicates.md (const_logical_operand): New predicate.
      	* config/sh/sh.md: Add new peephole2 patterns.
      
      From-SVN: r221026
      Oleg Endo committed
    • re PR ipa/65008 (ICE: in estimate_edge_growth, at ipa-inline.h:298 with -O2) · 1cf06f1e
      	PR ipa/65008
      	* ipa-inline.c (early_inliner): Recompute inline parameters.
      
      	* g++.dg/ipa/pr65008.C: New test.
      
      From-SVN: r221025
      Marek Polacek committed
    • Add profopt-target-cleanup · 3809f645
      2015-02-26  Tom de Vries  <tom@codesourcery.com>
      
      	* lib/profopt.exp (profopt-target-cleanup): New proc.
      	(profopt-execute): Use profopt-target-cleanup to handle cleanup of
      	files from sources from dg-additional-sources.
      
      From-SVN: r221024
      Tom de Vries committed
    • Add missing cleanup in run-gcov · 70f6380d
      2015-02-26  Tom de Vries  <tom@codesourcery.com>
      
      	* lib/gcov.exp: Cleanup in case of xfail.
      
      From-SVN: r221023
      Tom de Vries committed