1. 20 Nov, 2015 14 commits
    • [ARM] Disable neon testing for armv7-m · 4bec4b1c
      2015-11-20  Andre Vieira  <andre.simoesdiasvieira@arm.com>
      
      	* lib/target-supports.exp
      	(check_effective_target_arm_neon_ok_nocache): Add check
      	for M profile.
      
      From-SVN: r230653
      Andre Vieira committed
    • md.texi (Standard Names): Move entry for addptr3 around... · 481efdd9
      	* doc/md.texi (Standard Names): Move entry for addptr3 around,
      	add entries for addv4, subv4, mulv4, umulv4 and negv3, fixes
      	glitch in entries for cbranch4 and jump.
      
      From-SVN: r230651
      Eric Botcazou committed
    • Do final value replacement in try_create_reduction_list · f993a853
      2015-11-20  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/68373
      	* tree-scalar-evolution.c (final_value_replacement_loop): Factor out of ...
      	(scev_const_prop): ... here.
      	* tree-scalar-evolution.h (final_value_replacement_loop): Declare.
      	* tree-parloops.c (try_create_reduction_list): Call
      	final_value_replacement_loop.
      
      	* gcc.dg/autopar/pr68373.c: New test.
      
      From-SVN: r230650
      Tom de Vries committed
    • ChangeLog: Fix whitespace. · 5b5e7b18
      	* ChangeLog: Fix whitespace.
      	* testsuite/ChangeLog: Ditto.
      
      From-SVN: r230649
      Uros Bizjak committed
    • Fix up misplaced ChangeLog entry. · 5e18a5b5
      From-SVN: r230648
      Jakub Jelinek committed
    • re PR tree-optimization/52272 (Performance regression of 410.bwaves on x86.) · cf5b92ef
      
      	PR tree-optimization/52272
      	* tree-ssa-loop-ivopts.c (struct iv_common_cand): New struct.
      	(struct iv_common_cand_hasher): New struct.
      	(iv_common_cand_hasher::hash): New function.
      	(iv_common_cand_hasher::equal): New function.
      	(struct ivopts_data): New fields, iv_common_cand_tab and
      	iv_common_cands.
      	(tree_ssa_iv_optimize_init): Initialize above fields.
      	(record_common_cand, common_cand_cmp): New functions.
      	(add_iv_candidate_derived_from_uses): New function.
      	(add_iv_candidate_for_use): Record iv_common_cands derived from
      	iv use in hash table, instead of adding candidates directly.
      	(add_iv_candidate_for_uses): Call add_iv_candidate_derived_from_uses.
      	(record_important_candidates): Add important candidates to iv uses'
      	related_cands.  Always keep related_cands for future use.
      	(try_add_cand_for): Use iv uses' related_cands.
      	(free_loop_data, tree_ssa_iv_optimize_finalize): Release new fields
      	in struct ivopts_data, iv_common_cand_tab and iv_common_cands.
      
      From-SVN: r230647
      Bin Cheng committed
    • re PR c++/67354 (internal compiler error: in add_to_same_comdat_group, at symtab.c:421) · ec5a0fe0
      	PR c++/67354
      	* cp-tree.h (defer_mangling_aliases): Declare.
      	(generate_mangling_aliases): New prototype.
      	* decl2.c (defer_mangling_aliases): New variable.
      	(note_mangling_alias): Use !defer_mangling_aliases
      	instead of at_eof.
      	(generate_mangling_aliases): No longer static. Clear
      	defer_mangling_aliases.
      	* optimize.c (maybe_thunk_body): Defer emitting mangling aliases
      	if !defer_mangling_aliases until the fns are put into the same
      	comdat group.
      
      	* g++.dg/abi/mangle67.C: New test.
      
      From-SVN: r230646
      Jakub Jelinek committed
    • S/390: Add bswaphi2 pattern · 511f5bb1
      gcc/testsuite/ChangeLog:
      	* gcc.target/s390/bswap-1.c: New test.
      
      gcc/ChangeLog:
      	* config/s390/s390.md ("bswaphi2"): New pattern.
      
      From-SVN: r230643
      Andreas Krebbel committed
    • S/390: Clobber r1 in patterns resulting in pfpo instruction. · af344a30
      gcc/ChangeLog
      
      	* config/s390/s390.md (GPR1_REGNUM): New constant.
      	("*trunc<BFP:mode><DFP_ALL:mode>2")
      	("*trunc<DFP_ALL:mode><BFP:mode>2")
      	("trunc<BFP:mode><DFP_ALL:mode>2")
      	("trunc<DFP_ALL:mode><BFP:mode>2")
      	("*extend<BFP:mode><DFP_ALL:mode>2")
      	("*extend<DFP_ALL:mode><BFP:mode>2")
      	("extend<BFP:mode><DFP_ALL:mode>2")
      	("extend<DFP_ALL:mode><BFP:mode>2"): Clobber r1.
      
      gcc/testsuite/ChangeLog
      
      	* gcc.target/s390/pfpo.c: New test.
      
      From-SVN: r230642
      Dominik Vogt committed
    • re PR c++/68158 (Function attributes parsed incorrectly in C++ (while -fcilkplus)) · cf0347ae
      gcc/testsuite/
      	* c-c++-common/attr-simd-3.c: Put xfail (PR68158) on dg-error.
      	* c-c++-common/attr-simd.c: Limit scan of dump to x86_64/i?86.
      
      From-SVN: r230641
      Kirill Yukhin committed
    • C++ FE: offer suggestions for misspelled field names · 8ece8dfb
      gcc/c/ChangeLog:
      	* c-typeck.c (lookup_field_fuzzy): Move determination of closest
      	candidate into a new function, find_closest_identifier.
      
      gcc/cp/ChangeLog:
      	* cp-tree.h (lookup_member_fuzzy): New decl.
      	* search.c: Include spellcheck.h.
      	(class lookup_field_fuzzy_info): New class.
      	(lookup_field_fuzzy_info::fuzzy_lookup_fnfields): New.
      	(lookup_field_fuzzy_info::fuzzy_lookup_field): New.
      	(lookup_field_fuzzy_r): New.
      	(lookup_member_fuzzy): New.
      	* typeck.c (finish_class_member_access_expr): When issuing
      	a "has no member named" error, call lookup_member_fuzzy, and
      	offer any result as a suggestion.
      
      gcc/ChangeLog:
      	* spellcheck-tree.c (find_closest_identifier): New function, taken
      	from c/c-typeck.c:lookup_field_fuzzy, with NULL corrected to
      	NULL_TREE in two places.
      	* spellcheck.h (find_closest_identifier): New decl.
      
      gcc/testsuite/ChangeLog:
      	* g++.dg/spellcheck-fields.C: New file.
      
      From-SVN: r230638
      David Malcolm committed
    • Daily bump. · 32c912aa
      From-SVN: r230637
      GCC Administrator committed
    • Support __cxa_free_exception and fix exception handling. · 258c1d07
      	gcc/cp/
      	* except.c (do_free_exception): Use transactional wrapper.
      
      	libitm/
      	* testsuite/libitm.c++/eh-5.C: New.
      	* libitm.h (_ITM_cxa_free_exception): New.
      	* libitm.map (_ITM_cxa_free_exception): Add it.
      	* libitm.texi: Update ABI docs.
      	* libitm_i.h (gtm_transaction_cp::cxa_unthrown): Remove.
      	(gtm_transaction_cp::cxa_uncaught_count): Add.
      	(gtm_thread::cxa_unthrown): Remove.
      	(gtm_thread::cxa_uncaught_count_ptr): Add.
      	(gtm_thread::cxa_uncaught_count): Add.
      	(gtm_thread::drop_references_allocations): Rename to...
      	(gtm_thread::discard_allocation): ... this and adapt.
      	(gtm_thread::init_cpp_exceptions): New.
      	* beginend.cc (gtm_thread::gtm_thread): Adapt EH handling.
      	(gtm_thread::begin_transaction): Likewise.
      	(gtm_transaction_cp::save): Likewise.
      	(gtm_thread::trycommit): Likewise.
      	* eh_cpp.cc: Add overview comments.
      	(__cxa_eh_globals, __cxa_get_globals, __cxa_free_exception): Declare.
      	(free_any_exception, _ITM_cxa_free_exception): New.
      	(gtm_thread::init_cpp_exceptions): Define.
      	(_ITM_cxa_allocate_exception, _ITM_cxa_throw): Adapt.
      	(_ITM_cxa_begin_catch, _ITM_cxa_end_catch): Likewise.
      	(gtm_thread::revert_cpp_exceptions): Likewise.
      
      From-SVN: r230634
      Torvald Riegel committed
    • * config/msp430/lib2hw_mul.S: Fix alignment. · 9afebea2
      From-SVN: r230633
      DJ Delorie committed
  2. 19 Nov, 2015 26 commits