1. 09 Dec, 2015 11 commits
    • re PR tree-optimization/68583 (Missed if-conversion) · db9be04e
      2015-12-09  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/68583
      	* tree-if-conv.c (ifc_dr): Make flags bool, add w_unconditionally
      	flag and rename predicates to w_predicate, rw_predicate and
      	base_w_predicate.
      	(DR_WRITTEN_AT_LEAST_ONCE): Rename to ...
      	(DR_BASE_W_UNCONDITIONALLY): ... this.
      	(DR_W_UNCONDITIONALLY): Add.
      	(hash_memrefs_baserefs_and_store_DRs_read): Adjust.  Compute
      	unconditionally written separately from read or written.
      	(ifcvt_memrefs_wont_trap): Properly treat reads.
      	(ifcvt_could_trap_p): Inline ...
      	(if_convertible_gimple_assign_stmt_p): ... here.  Refactor
      	to avoid code duplication.
      	(if_convertible_loop_p_1): Adjust and properly initialize
      	predicates.
      
      From-SVN: r231444
      Richard Biener committed
    • tree-vect-stmts.c (vectorizable_load): Set new vinfo only if it was not yet set. · 34cd48e5
      2015-12-09  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-stmts.c (vectorizable_load): Set new vinfo only
      	if it was not yet set.
      	* tree-vectorizer.h (set_vinfo_for_stmt): Assert we don't
      	overwrite an existing entry.
      
      From-SVN: r231443
      Richard Biener committed
    • re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2) · 37074a02
      
      	PR ipa/61886
      	PR middle-end/25140
      	* ipa-reference.c (is_improper): Break out from ...
      	(is_proper_for_analysis): ... here; fix WRT aliases.
      	(analyze_function, generate_summary,
      	ipa_reference_write_optimization_summary,
      	ipa_reference_read_optimization_summary): Use ipa_reference_var_uid.
      	* ipa-refrence.h (ipa_reference_var_uid): New inline.
      	* tree-ssa-alias.c (ref_maybe_used_by_call_p_1,
      	call_may_clobber_ref_p_1): Use ipa_reference_var_uid.
      
      	* gcc.c-torture/execute/alias-3.c: New testcase.
      
      From-SVN: r231442
      Jan Hubicka committed
    • c-omp.c (c_finish_oacc_wait): Remove add_stmt() call. · 04d2fbcc
      2015-12-09  Chung-Lin Tang  <cltang@codesourcery.com>
      
      	* c-family/c-omp.c (c_finish_oacc_wait): Remove add_stmt() call.
      	* c/c-parser.c (c_parser_oacc_wait): Add add_stmt() call.
      	* cp/parser.c (cp_parser_oacc_wait): Add finish_expr_stmt() call.
      
      From-SVN: r231441
      Chung-Lin Tang committed
    • re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2) · b2539e1e
      
      	PR ipa/61886
      	* symtab.c (symtab_node::equal_address_to): New parameter
      	MEMORY_ACCESSED.
      	* cgraph.h (symtab_node::equal_address_to): Update prototype.
      
      From-SVN: r231440
      Jan Hubicka committed
    • rx.opt (-mjsr): Add. · eb457a8c
      * config/rx/rx.opt (-mjsr): Add.
      * config/rx/predicates.md (rx_call_operand): Avoid overflowing
      calls when -mjsr.
      * config/rx/rx.c (rx_function_ok_for_sibcall): Likewise for
      overflowing jumps.
      * doc/invoke.texi (-mjsr): Document it.
      
      From-SVN: r231439
      DJ Delorie committed
    • re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2) · 6b9ac179
      
      
      	PR ipa/61886
      	* lto-streamer.h (lto_symtab_merge_decls, lto_symtab_merge_symbols,
      	lto_symtab_prevailing_decl): MOve to lto-symtab.h.
      	* lto-streamer-out.c (DFS::DFS_write_tree_body): Check that
      	DECL_ABSTRACT_ORIGIN is not error_mark_node.
      
      	* lto-symtab.c: Include lto-symtab.h.
      	(lto_cgraph_replace_node): Do not merge profiles here.
      	(lto_symtab_merge_p): New function.
      	(lto_symtab_merge_decls_2): Honor lto_symtab_merge_p.
      	(lto_symtab_merge_symbols_1): Turn unmerged decls into transparent
      	aliases.
      	(lto_symtab_merge_symbols): Do not clear node->aux; we no longer use it.
      	(lto_symtab_prevailing_decl): Move to lto-symtab.h; rewrite.
      	* lto.c: Include lto-symtab.h
      	* lto-symtab.h: New.
      
      From-SVN: r231438
      Jan Hubicka committed
    • Fix PR c++/68711 - [6 regression] SEGV on an invalid offsetof of a member · 1a161cd7
      of a virtual base.
      
      gcc/testsuite/ChangeLog:
      	* g++.dg/other/offsetof8.C: New test.
      
      gcc/cp/ChangeLog:
      	* typeck.c (build_class_member_access_expr): Strip NOPs before
              testing a potentially null operand for equality to zero.
      
      From-SVN: r231437
      Martin Sebor committed
    • Fix misleading indentation in tree-nested.c · 9ba300b1
      gcc/ChangeLog:
      	* tree-nested.c (convert_tramp_reference_stmt): Fix indentation.
      
      From-SVN: r231436
      David Malcolm committed
    • Fix misleading indentation in tree-ssa-loop-unswitch.c · 0581d86f
      gcc/ChangeLog:
      	* tree-ssa-loop-unswitch.c (tree_unswitch_outer_loop): Fix
      	indentation.
      
      From-SVN: r231435
      David Malcolm committed
    • Daily bump. · a132ffbd
      From-SVN: r231434
      GCC Administrator committed
  2. 08 Dec, 2015 29 commits