- 10 Dec, 2015 18 commits
-
-
From-SVN: r231504
Christian Bruel committed -
gcc/ * tree-vect-stmts.c (vectorizable_assignment): Support useless boolean conversion. From-SVN: r231503
Ilya Enkovich committed -
From-SVN: r231501
Alan Lawrence committed -
* doc/install/texi: Add note against GNAT 4.8 on ARM hosts. From-SVN: r231500
Alan Lawrence committed -
PR tree-optimization/68785 * gimple-fold.c (fold_ctor_reference): Pass return value from native_encode_expr to native_interpret_expr. * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Likewise. * gcc.dg/pr68785.c: New test. From-SVN: r231499
Jakub Jelinek committed -
2015-12-10 Richard Biener <rguenther@suse.de> PR ipa/68331 * tree-ssa-structalias.c (set_uids_in_ptset): Add fndecl parameter and make vars_contains_nonlocal properly have function-scope semantics in IPA mode. (find_what_var_points_to): Add fndecl parameter. (find_what_p_points_to): Likewise. (pt_solution_includes_global): Remove IPA PTA early out. (compute_points_to_sets): Adjust. (ipa_pta_execute): Likewise. Clear final_solutions after each function. * gcc.dg/torture/ipa-pta-3.c: New testcase. * g++.dg/ipa/ipa-pta-1.C: Likewise. From-SVN: r231498
Richard Biener committed -
2015-12-10 Tom de Vries <tom@codesourcery.com> PR ada/65102 * doc/include/fdl.texi: Add nodefaultgnufreedocumentationlicensenode ifdef to allow disabling default @node GNU Free Documentation License. * gnat-style.texi: Set nodefaultgnufreedocumentationlicensenode and define @node GNU Free Documentation License locally. From-SVN: r231497
Tom de Vries committed -
tree-ssa-structalias.c (create_function_info_for): Add missing constraint from nonlocal for DECL_RESULT. 2015-12-10 Richard Biener <rguenther@suse.de> * tree-ssa-structalias.c (create_function_info_for): Add missing constraint from nonlocal for DECL_RESULT. From-SVN: r231496
Richard Biener committed -
2015-12-10 Richard Biener <rguenther@suse.de> * tree-if-conv.c: Include params.h. (ifcvt_memrefs_wont_trap): Use PARAM_ALLOW_STORE_DATA_RACES instead of flag_tree_loop_if_convert_stores to guard cases we'd introduce store-data-races. From-SVN: r231495
Richard Biener committed -
2015-12-10 Richard Biener <rguenther@suse.de> PR ipa/68721 * ipa-split.c (split_function): Record return value properly when the split part doesn't set it. * gcc.dg/torture/pr68721.c: New testcase. From-SVN: r231494
Richard Biener committed -
2015-12-10 Richard Biener <rguenther@suse.de> PR tree-optimization/68806 * tree-vect-loop.c (vect_analyze_loop_2): Properly detect reduction chains and ignore SLP reductions. * gcc.dg/torture/pr68806.c: New testcase. From-SVN: r231493
Richard Biener committed -
2015-12-10 Richard Biener <rguenther@suse.de> * tree-if-conv.c (if_convertible_loop_p_1): Do not compute dependences. (if_convertible_loop_p): Adjust. From-SVN: r231492
Richard Biener committed -
2015-12-10 Tom de Vries <tom@codesourcery.com> * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Remove invalid assert. From-SVN: r231491
Tom de Vries committed -
* tree-vect-data-refs.c: Free an overwritten dataref. From-SVN: r231490
Martin Liska committed -
* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code to initialize call to __dl_fixup once. From-SVN: r231486
John David Anglin committed -
PR 68115/libfortran * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*. * configure: Regenerate. * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call to void. From-SVN: r231485
John David Anglin committed -
PR target/68729 * config/pa/pa.c (pa_emit_move_sequence): Don't check that mode is consistent with modes of the input and output operands when doing reloads to and from floating point registers. Do reload for all address forms. From-SVN: r231482
John David Anglin committed -
From-SVN: r231481
GCC Administrator committed
-
- 09 Dec, 2015 22 commits
-
-
PR ipa/61886 PR middle-end/25140 * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Use compare_base_decls (nonoverlapping_component_refs_of_decl_p): Update sanity check. (decl_refs_may_alias_p): Use compare_base_decls. * alias.c: Include cgraph.h (rtx_equal_for_memref_p): Use rtx_equal_for_memref_p. (compare_base_decls): New function. (base_alias_check): Likewise. (memrefs_conflict_p): Likewise. (nonoverlapping_memrefs_p): Likewise. * alias.h (compare_base_decls): Declare. * gcc.c-torture/execute/alias-2.c: New testcase. From-SVN: r231478
Jan Hubicka committed -
PR lto/68811 * lto.c (lto_fixup_prevailing_decls): Do not check TREE_CHAIN of DECL. (LTO_NO_PREVAIL): Use gcc_checking_assert. From-SVN: r231477
Jan Hubicka committed -
trans.c (gfc_allocate_using_lib,gfc_deallocate_with_status): Introducing __asm__ __volatile__ ("":::"memory") after image control statements. 2015-12-09 Tobias Burnus <burnus@net-b.de> Alessandro Fanfarillo <fanfarillo.gcc@gmail.com> * trans.c (gfc_allocate_using_lib,gfc_deallocate_with_status): Introducing __asm__ __volatile__ ("":::"memory") after image control statements. * trans-stmt.c (gfc_trans_sync, gfc_trans_event_post_wait, gfc_trans_lock_unlock, gfc_trans_critical): Ditto. * trans-intrinsic.c (gfc_conv_intrinsic_caf_get, conv_caf_send): Introducing __asm__ __volatile__ ("":::"memory") after send, before get and around sendget. 2015-12-09 Tobias Burnus <burnus@net-b.de> Alessandro Fanfarillo <fanfarillo.gcc@gmail.com> * gfortran.dg/coarray_40.f90: New. Co-Authored-By: Alessandro Fanfarillo <fanfarillo.gcc@gmail.com> From-SVN: r231476
Tobias Burnus committed -
PR ipa/61886 * ipa-visibility.c (function_and_variable_visibility): Fix vtable rewritting guard. From-SVN: r231474
Jan Hubicka committed -
PR lto/68811 * g++.dg/lto/pr68811_0.C: New testcase. * g++.dg/lto/pr68811_1.C: New testcase. * lto-symtab.c (lto_symtab_merge_decls_2): Decl can never be prevailed by itself. From-SVN: r231473
Jan Hubicka committed -
re PR fortran/68815 (Error/warning diagnostic: '%s' should be converted to %qs-like or %<%s%>-like string strings) 2015-12-09 Tobias Burnus <burnus@net-b.de> PR fortran/68815 * decl.c (gfc_verify_c_interop_param, variable_decl): Use %< ... %> for quoting in diagnostics. * io.c (check_format): Ditto. * resolve.c (resolve_operator): Ditto. * symbol.c (check_conflict): Ditto. * trans-common.c (translate_common): Ditto. From-SVN: r231472
Tobias Burnus committed -
PR ipa/61886 PR middle-end/25140 * ipa-reference.c (ipa_reference_get_not_read_global, ipa_reference_get_not_read_global): Fix WRT aliases. (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: Revert my accidental previous commit. (ref_maybe_used_by_call_p_1, call_may_clobber_ref_p_1): Use ipa_reference_var_uid. From-SVN: r231471
Jan Hubicka committed -
2015-12-09 Andreas Tobler <andreast@gcc.gnu.org> * config/rs6000/freebsd64.h: Remove the redefinition of WCHAR_TYPE. From-SVN: r231470
Andreas Tobler committed -
* 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
-