- 09 Dec, 2015 28 commits
-
-
* graphite-optimize-isl.c: Include isl/ast_build.h (optimize_isl): Set several isl_options_set_* options. Co-Authored-By: Sebastian Pop <s.pop@samsung.com> From-SVN: r231467
Aditya Kumar committed -
we used to add the access functions in the wrong order, Fortran style, leading to unprofitable interchanges. * graphite-sese-to-poly.c (pdr_add_memory_accesses): Iterate in the same order as adding data reference access functions. Co-Authored-By: Sebastian Pop <s.pop@samsung.com> From-SVN: r231465
Aditya Kumar committed -
* graphite-optimize-isl.c (optimize_isl): Improve dump message. From-SVN: r231464
Aditya Kumar committed -
/cp 2015-12-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60218 * semantics.c (calculate_bases_helper): Don't call dfs_walk_all when TYPE_BINFO (type) is null. (calculate_bases): Handle gracefully a null vector->length (). /testsuite 2015-12-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60218 * g++.dg/ext/bases2.C: New. From-SVN: r231460
Paolo Carlini committed -
* gcc.target/i386/sse4_1-roundps-1.c: Remove ASM_SUFFIX define. * gcc.target/i386/sse4_1-roundps-2.c: Ditto. * gcc.target/i386/sse4_1-roundps-3.c: Ditto. * gcc.target/i386/sse4_1-roundsd-1.c: Ditto. * gcc.target/i386/sse4_1-roundsd-2.c: Ditto. * gcc.target/i386/sse4_1-roundsd-3.c: Ditto. * gcc.target/i386/sse4_1-roundss-1.c: Ditto. * gcc.target/i386/sse4_1-roundss-2.c: Ditto. * gcc.target/i386/sse4_1-roundss-3.c: Ditto. From-SVN: r231459
Uros Bizjak committed -
* gcc.c-torture/execute/980716-1.c: Avoid undefined behavior due to passing terminating NULL as int rather than pointer. From-SVN: r231458
Alexander Monakov committed -
re PR tree-optimization/66949 (ICE at -O2 and -O3 on x86_64-linux-gnu in tree_ssa_phiopt_worker, at tree-ssa-phiopt.c:335) PR tree-optimization/66949 * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Don't call single_non_singleton_phi_for_edges to get the PHI from factor_out_conditional_conversion. Use NULL_TREE instead of NULL. (factor_out_conditional_conversion): Adjust declaration. Make it return the newly-created PHI. * gcc.dg/torture/pr66949-1.c: New test. * gcc.dg/torture/pr66949-2.c: New test. From-SVN: r231457
Marek Polacek committed -
gcc/ PR rtl-optimization/67609 * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class): Bring back. * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Likewise. * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Likewise. * config/aarch64/aarch64.md (aarch64_movdi_<mode>low): Use zero_extract rather than truncate. (aarch64_movdi_<mode>high): Likewise. gcc/testsuite/ PR rtl-optimization/67609 * gcc.dg/torture/pr67609.c: New. From-SVN: r231455
James Greenhalgh committed -
PR tree-optimization/68786 * tree-if-conv.c: Include builtins.h. (predicate_mem_writes): Put result of get_object_alignment (ref) into second argument's value. * tree-vect-stmts.c (vectorizable_mask_load_store): Put minimum pointer alignment into second argument's value. * tree-data-ref.c (get_references_in_stmt): Use value of second argument for build_aligned_type, and only the type to build a zero second argument for MEM_REF. * internal-fn.c (expand_mask_load_optab_fn, expand_mask_store_optab_fn): Likewise. From-SVN: r231454
Jakub Jelinek committed -
2015-12-09 Richard Biener <rguenther@suse.de> PR tree-optimization/68583 * tree-if-conv.c (if_convertible_phi_p): Drop flag_tree_loop_if_convert_stores check in favor of the existing any_mask_load_store check. (insert_gimplified_predicates): Likewise. (combine_blocks): Likewise. (tree_if_conversion): Likewise. (ifcvt_memrefs_wont_trap): Properly check flag_tree_loop_if_convert_stores in all places that can end up introducing store-data-races. (if_convertible_gimple_assign_stmt_p): Remove restriction on flag_tree_loop_if_convert_stores for stores we can if-convert without introducing store-data-races. Force versioning for all if-converted stores. * gcc.dg/tree-ssa/ifc-pr68583.c: New testcase. * gcc.dg/vect/vect-72.c: Adjust. * gcc.dg/vect/vect-cselim-2.c: Likewise. * gcc.dg/vect/vect-strided-store-a-u8-i2.c: Likewise. From-SVN: r231453
Richard Biener committed -
2015-12-09 Richard Biener <rguenther@suse.de> PR tree-optimization/68417 * gcc.dg/vect/pr68417.c: New testcase. From-SVN: r231452
Richard Biener committed -
PR ada/66526 * g-expect.adb (Set_Up_Child_Communications): Add matching condition for uses of Input, Ouput and Error variables after the Execvp call. From-SVN: r231450
Eric Botcazou committed -
2015-12-09 Tom de Vries <tom@codesourcery.com> PR tree-optimization/68716 * tree-ssa-structalias.c (find_func_clobbers): Fix handling of BUILT_IN_GOMP_PARALLEL and BUILT_IN_GOACC_PARALLEL. * testsuite/libgomp.c/omp-nested-2.c: New test. From-SVN: r231449
Tom de Vries committed -
* hash-traits.h (struct typed_delete_remove): New function. (typed_delete_remove ::remove): Likewise. * tree-ssa-loop-ivopts.c (struct iv_common_cand): Replace auto_vec with vec. (record_common_cand): Replace XNEW with operator new. From-SVN: r231448
Martin Liska committed -
* tree-if-conv.c (ifcvt_local_dce): Replace vec with auto_vec. From-SVN: r231447
Martin Liska committed -
Fix PR ipa/68790 PR ipa/68790 * ipa-icf.c (sem_function::param_used_p): Return true if ipa_node_params_sum equals to NULL. * gcc.dg/ipa/pr68790.c: New test. From-SVN: r231446
Martin Liska committed -
From-SVN: r231445
Eric Botcazou committed -
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 -
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 -
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 -
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 -
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 -
* 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 -
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 -
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 -
gcc/ChangeLog: * tree-nested.c (convert_tramp_reference_stmt): Fix indentation. From-SVN: r231436
David Malcolm committed -
gcc/ChangeLog: * tree-ssa-loop-unswitch.c (tree_unswitch_outer_loop): Fix indentation. From-SVN: r231435
David Malcolm committed -
From-SVN: r231434
GCC Administrator committed
-
- 08 Dec, 2015 12 commits
-
-
PR ipa/61886 * lto-cgraph.c (compute_ltrans_boundary): Add transparent alias targets into the boundary. From-SVN: r231430
Jan Hubicka committed -
PR ipa/61886 * varpool.c (varpool_node::get_availability): Recurse only on weakrefs with definition in the target. (symbol_table::remove_unreferenced_decls): Keep aliases in the boundary. From-SVN: r231429
Jan Hubicka committed -
PR ipa/61886 * ipa-visibility.c (can_replace_by_local_alias): Look through transparent aliaes; refuse weakrefs. (update_visibility_by_resolution_info): Skip transparent aliases in the analysis part From-SVN: r231428
Jan Hubicka committed -
PR ipa/61886 * symtab.c (symtab_node::verify_base): Fix thinko in a conditional. (symtab_node::noninterposable_alias): Do not accept transparent aliases. From-SVN: r231427
Jan Hubicka committed -
gcc/ * config/nvptx/nvptx.c (decl_chunk_size, decl_chunk_mode, decl_offset, init_part, object_size, object_finished): Replace with ... (struct init_frag): ... this new struct variable. (begin_decl_field, output_decl_chunk): Replace with ... (output_init_frag): ... this new function. (nvptx_assemble_value): Reimplement. (nvptx_assemble_integer, nvptx_output_skip): Adjust. (nvptx_assemble_decl_begin, nvptx_assemble_decl_end): Adjust. (nvptx_output_aligned_decl): Call nvptx_assemble_decl_end. gcc/testsuite/ * gcc.target/nvptx/trailing-init.c: New. From-SVN: r231426
Nathan Sidwell committed -
PR ipa/61886 * lto-partition.c (add_symbol_to_partition_1): Transparent aliases are not part of the definition. (contained_in_symbol): Likewise. (promote_symbol): When promoting a symbol also promote all transparent aliases. (rename_statics): Weakref needs unique name, too. From-SVN: r231425
Jan Hubicka committed -
PR middle-end/68291 PR middle-end/68292 * cfgexpand.c (set_rtl): Always accept mode mismatch for SSA names with BLKmode promoted mode based on RESULT_DECLs. From-SVN: r231422
Eric Botcazou committed -
* gcc.c-torture/compile/920723-1.c: Remove PTX skip. * gcc.c-torture/compile/pr33855.c: Likewise. * gcc.c-torture/execute/981019-1.c: Remove PTX -O2 skip. From-SVN: r231421
Nathan Sidwell committed -
From-SVN: r231420
Uros Bizjak committed -
PR target/68701 * config/i386/i386.c (ix86_option_override_internal): Enable -maccumulate-outgoing-args when %ebp is fixed due to stack realignment requirements. testsuite/ChangeLog: PR target/68701 * testsuite/gcc.target/i386/pr68701-1.c: New test. * testsuite/gcc.target/i386/pr68701-2.c: Ditto. From-SVN: r231419
Uros Bizjak committed -
* gcc.target/i386/sse4_1-round.h (do_round): Fix inline asm statements. * gcc.target/i386/sse4_1-roundsd-4.c (do_round): Ditto. * gcc.target/i386/sse4_1-roundss-4.c (do_round): Ditto. From-SVN: r231418
Uros Bizjak committed -
From-SVN: r231416
Eric Botcazou committed
-