- 01 Mar, 2015 10 commits
-
-
From-SVN: r221091
Joseph Myers committed -
2015-02-28 Martin Liska <mliska@suse.cz> Jan Hubicka <hubicka@ucw.cz> PR ipa/65245 * ipa-icf-gimple.c (func_checker::compare_function_decl): Remove. (func_checker::compare_variable_decl): Skip symtab vars. (func_checker::compare_cst_or_decl): Update. * ipa-icf.c (sem_function::parse): Do not consider aliases. (sem_function::compare_cgraph_references): Add ADDRESS parameter; use correct symtab predicates. (sem_function::equals_wpa): Update uses of compare_cgraph_references. (sem_variable::parse): Update comment. (sem_item_optimizer::build_graph): Consider ultimate aliases for references. * gcc.dg/ipa/ipa-icf-34.c: New test. Co-Authored-By: Jan Hubicka <hubicka@ucw.cz> From-SVN: r221090
Martin Liska committed -
gcc/testsuite/ PR target/61142 * gcc.target/sh/sh/pr61142.c: New. From-SVN: r221089
Oleg Endo committed -
* c-ada-spec.c (is_tagged_type): Add guard for DECL_VINDEX. (dump_template_types): Adjust DECL_TEMPLATE_INSTANTIATIONS and DECL_TEMPLATE_RESULT emulations. (dump_ada_template)): Add guard for TYPE_METHODS. From-SVN: r221088
Eric Botcazou committed -
PR ada/65259 * doc/gnat_ugn/gnat_project_manager.rst, doc/gnat_ugn/platform_specific_information.rst: Remove reference to image, too troublesome with texi format. * gnat_ugn.texi: Regenerate. From-SVN: r221087
Arnaud Charlet committed -
* ipa-icf-gimple.c (func_checker::compare_operand): Fix handling of OBJ_TYPE_REF. From-SVN: r221086
Jan Hubicka committed -
* ipa-icf.c (sem_function::merge): Fix handling of COMDAT. (sem_variable::merge) Likewise. From-SVN: r221085
Jan Hubicka committed -
* ipa-inline.c (can_inline_edge_p): Match opt_for_fn on inline target; also match flag_ipa_devirt. From-SVN: r221084
Jan Hubicka committed -
From-SVN: r221083
GCC Administrator committed -
* ipa-icf-gimple.c (func_checker::compare_variable_decl): Validate variable alignment. * ipa-icf.c (sem_function::equals_private): Be more precise about non-common function attributes. (sem_variable::equals): Likewise. * gcc.target/i386/stackalign/longlong-2.c: Omit ICF. * g++.dg/ipa/pr63595.C: Update expected results. From-SVN: r221080
Martin Liska committed
-
- 28 Feb, 2015 6 commits
-
-
PR ipa/65237 * ipa-icf.c (sem_function::merge): Do not attempt to produce alias across COMDAT group boundary. From-SVN: r221079
Jan Hubicka committed -
re PR bootstrap/65232 (bootstrap failure (ICE in change_symbol_block, at varasm.c:1230) on arm-linux-gnueabihf, in libstdc++ stage1) PR ipa/65232 * ipa-icf.c (clear_decl_rtl): New function. (sem_function::merge): Clear RTL before forming alias. (sem_variable::merge): Clear RTL before forming alias. From-SVN: r221078
Jan Hubicka committed -
PR ipa/65236 * g++.dg/ipa/ipa-icf-6.C: New testcase. * cgraphunit.c (cgraph_node::expand_thunk): Enable return slot opt. From-SVN: r221077
Jan Hubicka committed -
2015-02-28 Matthias Klose <doko@ubuntu.com> PR libstdc++/65246 * python/libstdcxx/v6/__init__.py: Use explicit relative imports. From-SVN: r221076
Matthias Klose committed -
gcc/ * config/aarch64/aarch64.md: (mov<mode>_aarch64): Change type to neon_to_gp<q>. From-SVN: r221075
Xingxing Pan committed -
From-SVN: r221074
GCC Administrator committed
-
- 27 Feb, 2015 24 commits
-
-
2015-02-27 Vladimir Makarov <vmakarov@redhat.com> * params.def (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF): Fix a typo in the description. From-SVN: r221071
Vladimir Makarov committed -
2015-02-27 Vladimir Makarov <vmakarov@redhat.com> PR target/64317 * params.def (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF): New. * params.h (LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF): New. * lra-constraints.c: Include "params.h". (EBB_PROBABILITY_CUTOFF): Use LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF. (lra_inheritance): Use '<' instead of '<=' for EBB_PROBABILITY_CUTOFF. * doc/invoke.texi (lra-inheritance-ebb-probability-cutoff): Document change. From-SVN: r221070
Vladimir Makarov committed -
* ipa-icf.h (struct symbol_compare_hashmap_traits): Add missing vector length condition. From-SVN: r221069
Martin Liska committed -
2015-02-27 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/extend.texi (x86 transactional memory intrinsics): Reorganize discussion of _xbegin. Clarify that the return value is a bit mask. Expand example and move to end of section. From-SVN: r221068
Sandra Loosemore committed -
* gcc.dg/vect/pr59354.c: Move vector producing code to separate function. From-SVN: r221066
Pat Haugen committed -
PR ipa/65237 * gcc.dg/attr-noinline.c: Add -fno-ipa-icf * gcc.dg/noreturn-7.c: Add -fno-ipa-icf. * gcc.dg/ipa/ipa-cp-1.c: Revert accidental commit. * gcc.dg/ipa/ipa-cp-2.c: Revert accidental commit. From-SVN: r221065
Jan Hubicka committed -
PR rtl-optimization/65220 * config/i386/i386.md (*udivmod<mode>4_pow2): New. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r221064
Jakub Jelinek committed -
PR tree-optimization/65048 * gcc.dg/tree-ssa/ssa-dom-thread-9.c: Add -std=gnu89 to dg-options. (foo): Use K&R style definition. From-SVN: r221063
Jakub Jelinek committed -
2015-02-27 Vladimir Makarov <vmakarov@redhat.com> PR target/65032 * lra-remat.c (update_scratch_ops): New. (do_remat): Call it. * lra.c (lra_register_new_scratch_op): New. Take code from ... (remove_scratches): ... here. * lra-int.h (lra_register_new_scratch_op): New prototype. 2015-02-27 Vladimir Makarov <vmakarov@redhat.com> PR target/65032 * g++.dg/pr65032.C: New. From-SVN: r221062
Vladimir Makarov committed -
PR c/65040 * doc/invoke.texi: Update to reflect that -Wformat=2 doesn't enable -Wformat-signedness anymore. * c.opt (Wformat-signedness): Don't enable by -Wformat=2. * gcc.dg/pr65066.c: Use -Wformat -Wformat-signedness and not -Wformat=2. From-SVN: r221061
Marek Polacek committed -
From-SVN: r221060
Peter Bergner committed -
PR target/65038 * config.in: Regenerated. * configure: Likewise. * configure.ac (AC_HEADER_STDC): Added explicit. (AC_CHECK_HEADERS): Check for default headers plus for ftw.h header. * libgcov-util.c (gcov_read_profile_dir): Disable use of ftw-function, if header is not found. (ftw_read_file): Likewise. From-SVN: r221059
Kai Tietz committed -
From-SVN: r221058
Kai Tietz committed -
re PR c/65228 (ICE: expected tree that contains ‘decl minimal’ structure, have ‘error_mark’ in start_decl) PR c/65228 * c-decl.c (start_decl): Return NULL_TREE if decl is an error node. * gcc.dg/pr65228.c: New test. From-SVN: r221056
Marek Polacek committed -
PR target/65038 * config.in: Regenerated. * configure: Likewise. * configure.ac (AC_HEADER_STDC): Add explicit. (AC_CHECK_HEADERS): Check for default headers plus for ftw.h one. * libgcov-util.c (gcov_read_profile_dir): Disable use of ftw-function, if header not found. (ftw_read_file): Don't translate if ftw header isn't present. From-SVN: r221055
Kai Tietz committed -
2015-02-27 Kai Tietz <ktietz@redhat.com> PR c/35330 * c-pragma.c (handle_pragma_weak): Do not try to create weak/alias of declarations not being function, or variable declarations. 2015-02-27 Kai Tietz <ktietz@redhat.com> PR c/35330 * gcc.dg/weak/weak-17.c: New file. From-SVN: r221053
Kai Tietz committed -
2015-02-27 Richard Biener <rguenther@suse.de> PR lto/65193 * g++.dg/lto/pr65193_0.C: New testcase. From-SVN: r221050
Richard Biener committed -
gcc/testsuite/ChangeLog: * gcc.target/s390/20140327-1.c: Remove -m31 and guard with ! lp64. * gcc.target/s390/hotpatch-8.c: Likewise. * gcc.target/s390/hotpatch-9.c: Likewise. * gcc.target/s390/pr61078.c: Likewise. * gcc.target/s390/pr57960.c: Remove -m64. * gcc.target/s390/pr61078.c: Likewise. From-SVN: r221049
Andreas Krebbel committed -
gcc/ChangeLog: * config/s390/s390.c: (s390_atomic_assign_expand_fenv): New function. (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define macro. From-SVN: r221048
Andreas Krebbel committed -
gcc/ChangeLog: * config/s390/s390.c (enum s390_builtin): Add S390_BUILTIN_S390_SFPC and S390_BUILTIN_S390_EFPC. (code_for_builtin): Add CODE_FOR_s390_sfpc and CODE_FOR_s390_efpc. (s390_init_builtins): Generate new builtin functions. * config/s390/s390.md (UNSPECV_SFPC, UNSPECV_EFPC): New constants. (s390_sfpc, s390_efpc): New pattern definitions. From-SVN: r221047
Andreas Krebbel committed -
gcc/ChangeLog: * config/s390/s390.c: (enum s390_builtin, s390_expand_builtin): Rename S390_BUILTIN_max to S390_BUILTIN_MAX. (s390_builtin_decls): New array. (s390_init_builtins): Put builtin decls into s390_builtin_decls. (s390_builtin_decl): New function. (TARGET_BUILTIN_DECL): Define macro. From-SVN: r221046
Andreas Krebbel committed -
re PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2" basic block vectorized using SLP" 1) 2015-02-27 Richard Biener <rguenther@suse.de> PR middle-end/63175 * builtins.c (get_object_alignment_2): Make sure to re-apply the ANDed mask after recursing to its operand gets us a new misalignment bit position. From-SVN: r221043
Richard Biener committed -
2015-02-26 Sandra Loosemore <sandra@codesourcery.com> * MAINTAINERS (Various Maintainers): Add self as docs co-maintainer. From-SVN: r221041
Sandra Loosemore committed -
PR bootstrap/65150 * ipa-icf.c (symbol_compare_collection::symbol_compare_colleciton): Use address_matters_p. (redirect_all_callers, set_addressable): New functions. (sem_function::merge): Reorganize and fix merging issues. (sem_variable::merge): Likewise. (sem_variable::compare_sections): Remove. * common.opt (fmerge-all-constants, fmerge-constants): Remove Optimization flag. * symtab.c (symtab_node::resolve_alias): When alias has aliases, redirect them. (symtab_node::make_decl_local): Set ADDRESSABLE bit when decl is used. (address_matters_1): New function. (symtab_node::address_matters_p): New function. * cgraph.c (cgraph_edge::verify_corresponds_to_fndecl): Fix check for merged flag. * cgraph.h (address_matters_p): Declare. (symtab_node::address_taken_from_non_vtable_p): Remove. (symtab_node::address_can_be_compared_p): New method. (ipa_ref::address_matters_p): Move here from ipa-ref.c; simplify. * ipa-visibility.c (symtab_node::address_taken_from_non_vtable_p): Remove. (comdat_can_be_unshared_p_1) Use address_matters_p. (update_vtable_references): Fix formating. * ipa-ref.c (ipa_ref::address_matters_p): Move inline. * cgraphunit.c (cgraph_node::create_wrapper): Drop UNINLINABLE flag. * cgraphclones.c: Preserve merged and icf_merged flags. Co-Authored-By: Martin Liska <mliska@suse.cz> From-SVN: r221040
Jan Hubicka committed
-