- Jun 10, 2019
-
-
Martin Liska authored
2019-06-10 Martin Liska <mliska@suse.cz> * gcc.dg/no_profile_instrument_function-attr-1.c: Fix function name. From-SVN: r272116
-
Martin Liska authored
2019-06-10 Martin Liska <mliska@suse.cz> * ipa-cp.c (ignore_edge_p): New function. (build_toporder_info): Use it. * ipa-inline.c (ignore_edge_p): New function/ (inline_small_functions): Use it. * ipa-pure-const.c (ignore_edge_for_nothrow): Verify opt_for_fn for caller and callee. (ignore_edge_for_pure_const): Likewise. * ipa-reference.c (ignore_edge_p): Extend to check for opt_for_fn. * ipa-utils.c (searchc): Refactor. * ipa-utils.h: Fix coding style. From-SVN: r272115
-
Claudiu Zissulescu authored
Update RTX costs to reflect better the ARC architecture. gcc/ xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.c (arc_rtx_costs): Update costs. /gcc/testsuite xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com> * gcc.target/arc/jumptables.c: Update test. From-SVN: r272113
-
Claudiu Zissulescu authored
When optimizing for size, try to avoid using long immediate by employing alternative instructions. gcc/ xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc-protos.h (arc_check_ior_const): Declare. (arc_split_ior): Likewise. (arc_check_mov_const): Likewise. (arc_split_mov_const): Likewise. * config/arc/arc.c (arc_print_operand): Fix 'z' letter. (arc_rtx_costs): Replace check Crr with Cax constraint. (prepare_move_operands): Cleanup, remove unused code. (arc_split_ior): New function. (arc_check_ior_const): Likewise. (arc_split_mov_const): Likewise. (arc_check_mov_const): Likewise. * config/arc/arc.md (movsi_insn): Restructure it, and convert it in define_insn_and_split pattern. (iorsi3): Likewise. (mulsi3_v2): Add new matching variant. (andsi3_i): Cleanup pattern. (rotrsi3_cnt1): Update pattern. (rotrsi3_cnt8): New pattern. (ashlsi2_cnt8): Likewise. (ashlsi2_cnt16): Likewise. * config/arc/constraints.md (C0p): Update constraint. (Crr): Remove it. (C0x): New pattern. (Cax): New pattern. testsuite/ xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com> * gcc.target/arc/and-cnst-size.c: New test. * gcc.target/arc/mov-cnst-size.c: Likewise. * gcc.target/arc/or-cnst-size.c: Likewise. * gcc.target/arc/store-merge-1.c: Update test. * gcc.target/arc/arc700-stld-hazard.c: Likewise. * gcc.target/arc/cmem-1.c: Likewise. * gcc.target/arc/cmem-2.c: Likewise. * gcc.target/arc/cmem-3.c: Likewise. * gcc.target/arc/cmem-4.c: Likewise. * gcc.target/arc/cmem-5.c: Likewise. * gcc.target/arc/cmem-6.c: Likewise. * gcc.target/arc/loop-4.c: Likewise. * gcc.target/arc/movh_cl-1.c: Likewise. * gcc.target/arc/sdata-3.c: Likewise. From-SVN: r272112
-
Martin Liska authored
2019-06-10 Martin Liska <mliska@suse.cz> * ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Update coding style. (sem_item_optimizer::dump_cong_classes): Print how many items are in a non-singular class. Improve coding style. 2019-06-10 Martin Liska <mliska@suse.cz> * gcc.dg/ipa/pr68035.c: Update scanned pattern. From-SVN: r272111
-
Martin Liska authored
2019-06-10 Martin Liska <mliska@suse.cz> * value-prof.c (dump_histogram_value): Change dump format. (gimple_mod_subtract_transform): Remove legacy comment. From-SVN: r272108
-
Martin Liska authored
2019-06-10 Martin Liska <mliska@suse.cz> * value-prof.c (dump_histogram_value): Print histogram values only if present. From-SVN: r272107
-
Martin Liska authored
2019-06-10 Martin Liska <mliska@suse.cz> * gcov-io.h (GCOV_DISK_SINGLE_VALUES): New. (GCOV_SINGLE_VALUE_COUNTERS): Likewise. * ipa-profile.c (ipa_profile_generate_summary): Use get_most_common_single_value. * tree-profile.c (gimple_init_gcov_profiler): Instrument with __gcov_one_value_profiler_v2 and __gcov_indirect_call_profiler_v4. * value-prof.c (dump_histogram_value): Print all values for HIST_TYPE_SINGLE_VALUE. (stream_out_histogram_value): Update assert for N values. (stream_in_histogram_value): Set number of counters for HIST_TYPE_SINGLE_VALUE. (get_most_common_single_value): New. (gimple_divmod_fixed_value_transform): Use get_most_common_single_value. (gimple_ic_transform): Likewise. (gimple_stringops_transform): Likewise. (gimple_find_values_to_profile): Set number of counters for HIST_TYPE_SINGLE_VALUE. * value-prof.h (get_most_common_single_value): New. 2019-06-10 Martin Liska <mliska@suse.cz> * Makefile.in: Add __gcov_one_value_profiler_v2, __gcov_one_value_profiler_v2_atomic and __gcov_indirect_call_profiler_v4. * libgcov-merge.c (__gcov_merge_single): Change function signature. (merge_single_value_set): New. * libgcov-profiler.c (__gcov_one_value_profiler_body): Update functionality. (__gcov_one_value_profiler): Remove. (__gcov_one_value_profiler_v2): ... this. (__gcov_one_value_profiler_atomic): Rename to ... (__gcov_one_value_profiler_v2_atomic): this. (__gcov_indirect_call_profiler_v3): Rename to ... (__gcov_indirect_call_profiler_v4): ... this. * libgcov.h (__gcov_one_value_profiler): Remove. (__gcov_one_value_profiler_atomic): Remove. (__gcov_one_value_profiler_v2_atomic): New. (__gcov_indirect_call_profiler_v3): Remove. (__gcov_one_value_profiler_v2): New. (__gcov_indirect_call_profiler_v4): New. (gcov_get_counter_ignore_scaling): New function. From-SVN: r272106
-
Iain Sandoe authored
2019-06-10 Iain Sandoe <iain@sandoe.co.uk> * gcc.dg/attr-copy-6.c: Require alias support. From-SVN: r272105
-
Martin Liska authored
2019-06-10 Martin Liska <mliska@suse.cz> * hash-map.h: Pass default value to hash_table ctor. * hash-table.h: Add default value to call of a ctor. From-SVN: r272104
-
GCC Administrator authored
From-SVN: r272102
-
- Jun 09, 2019
-
-
Marek Polacek authored
PR c++/65175 * g++.dg/cpp0x/alias-decl-69.C: New test. From-SVN: r272098
-
Marek Polacek authored
PR c++/60366 * g++.dg/cpp0x/lambda/lambda-ice32.C: New test. From-SVN: r272092
-
Paul Thomas authored
2019-06-09 Paul Thomas <pault@gcc.gnu.org> PR fortran/89365 * gfortran.dg/assumed_rank_bounds_3.f90 : New test. From-SVN: r272090
-
GCC Administrator authored
From-SVN: r272089
-
- Jun 08, 2019
-
-
Paul Thomas authored
2019-06-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/90786 * trans-expr.c (pointer_assignment_is_proc_pointer) Remove as it is very simple and only called from one place. (gfc_trans_pointer_assignment): Rename non_proc_pointer_assign as non_proc_ptr_assign. Assign to it directly, rather than call to above, deleted function and use gfc_expr_attr instead of only checking the reference chain. 2019-06-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/90786 * gfortran.dg/proc_ptr_51.f90 : New test. From-SVN: r272084
-
Marek Polacek authored
re PR c++/52269 ([C++11] Body of constexpr function templates instantiated too eagerly in unevaluated operands) PR c++/52269 * g++.dg/cpp0x/constexpr-decltype4.C: New test. From-SVN: r272083
-
Thomas Koenig authored
re PR fortran/90744 (Bogus length for character temporaries passed to external procedures since r268992) 2019-06-08 Thomas Koenig <tkoenig@gcc.gnu.org> Tomáš Trnka <trnka@scm.com> PR fortran/90744 * trans-types.c (get_formal_from_actual_arglist): Unset typespec flags which make no sense for procedures without explicit interface. 2019-06-08 Thomas Koenig <tkoenig@gcc.gnu.org> Tomáš Trnka <trnka@scm.com> PR fortran/90744 * gfortran.dg/deferred_character_33.f90: New test. * gfortran.dg/deferred_character_33a.f90: New test. From-SVN: r272082
-
Jonathan Wakely authored
* doc/invoke.texi (C Dialect Options): Minor grammatical change. (x86 Options): Replace all uses of "PCL_MUL" with "PCLMUL" From-SVN: r272081
-
Marek Polacek authored
re PR c++/77548 (ICE on invalid C++ code with overloaded functions: in instantiate_type, at cp/class.c:8270) PR c++/77548 * g++.dg/other/pr77548.C: New test. From-SVN: r272079
-
Marek Polacek authored
PR c++/72845 * g++.dg/cpp0x/noexcept41.C: New test. From-SVN: r272078
-
Prathamesh Kulkarni authored
2019-06-08 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> * gcc.target/aarch64/sve/init_1.c: Remove options -O2 -fno-schedule-insns and instead pass -O. Update assembly in comments. * gcc.target/aarch64/sve/init_2.c: Likewise. * gcc.target/aarch64/sve/init_3.c: Likewise. * gcc.target/aarch64/sve/init_4.c: Likewise. * gcc.target/aarch64/sve/init_5.c: Likewise and additionally adjust dg-scan. * gcc.target/aarch64/sve/init_6.c: Likewise. * gcc.target/aarch64/sve/init_7.c: Likewise. * gcc.target/aarch64/sve/init_8.c: Likewise. * gcc.target/aarch64/sve/init_9.c: Likewise. * gcc.target/aarch64/sve/init_10.c: Likewise. * gcc.target/aarch64/sve/init_11.c: Likewise. * gcc.target/aarch64/sve/init_12.c: Likewise. From-SVN: r272073
-
Marek Polacek authored
PR c++/77747 * g++.dg/cpp0x/inh-ctor33.C: New test. From-SVN: r272071
-
Marek Polacek authored
re PR c++/77967 (ICE in cp_parser_type_name, at cp/parser.c:16419 (trying to add a method to a template alias)) PR c++/77967 * g++.dg/cpp0x/alias-decl-68.C: New test. From-SVN: r272070
-
Marek Polacek authored
PR c++/77771 * g++.dg/cpp0x/constexpr-77771.C: New test. From-SVN: r272068
-
GCC Administrator authored
From-SVN: r272067
-
- Jun 07, 2019
-
-
John David Anglin authored
* lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*. From-SVN: r272060
-
John David Anglin authored
PR target/90751 * config/pa/pa-linux.h (ASM_DECLARE_FUNCTION_NAME): Update comment. Call pa_output_function_label> (TARGET_ASM_FUNCTION_PROLOGUE): define. * config/pa/pa-protos.h (pa_output_function_label): Declare. * config/pa/pa.c (pa_output_function_prologue): Add ATTRIBUTE_UNUSED to declaration. (pa_linux_output_function_prologue): Declare. (TARGET_ASM_FUNCTION_PROLOGUE): Delete define. (pa_output_function_label): New. (pa_output_function_prologue): Revise to use pa_output_function_label. (pa_linux_output_function_prologue): New. * config/pa/pa.h (TARGET_ASM_FUNCTION_PROLOGUE): Define. From-SVN: r272059
-
Aldy Hernandez authored
derived versions (value_range). From-SVN: r272058
-
Ian Lance Taylor authored
For string, slice, interface values, do assignments field by field instead of using typedmemmove. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/181297 From-SVN: r272055
-
Jason Merrill authored
* constexpr.c (cxx_eval_constant_expression): Call STRIP_ANY_LOCATION_WRAPPER early. [CONVERT_EXPR]: Don't build anything for conversion to void. [ADDR_EXPR]: ggc_free unused ADDR_EXPR. From-SVN: r272054
-
Jakub Jelinek authored
* Makefile.in (genprogerr): Add condmd. (genprog): Remove it here. From-SVN: r272047
-
Mark Eggleston authored
2019-06-07 Mark Eggleston <mark.eggleston@codethink.com> PR fortran/89100 * gfortran.dg/fmt_f_default_field_width_3.f90: Modify dg-error to allow use when kind=16 is not supported. * gfortran.dg/fmt_g_default_field_width_3.f90: Modify dg-error to allow use when kind=16 is not supported. From-SVN: r272046
-
Ian Lance Taylor authored
This increases the number of inlinable functions from 455 to 500. An example of a newly inlinable function is strings.Compare. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/181137 From-SVN: r272045
-
Andrew Stubbs authored
2019-06-07 Andrew Stubbs <ams@codesourcery.com> gcc/ * doc/invoke.texi (AMD GCN Options): Add gfx906. From-SVN: r272044
-
Ian Lance Taylor authored
Normally the backend will do deadcode elimination and this is sufficient. However, the escape analysis operates on the AST that may have deadcode, and may cause things to escape that otherwise do not. This CL adds a simple deadcode elimination, run before the escape analysis. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/181080 From-SVN: r272043
-
Richard Biener authored
2019-06-07 Richard Biener <rguenther@suse.de> PR debug/90574 * tree-cfg.c (stmt_starts_bb_p): Split blocks at labels that appear after user labels. * gcc.misc-tests/gcov-pr90574-1.c: New testcase. * gcc.misc-tests/gcov-pr90574-2.c: Likewise. From-SVN: r272040
-
Martin Liska authored
2019-06-07 Martin Liska <mliska@suse.cz> * cselib.c (cselib_init): Disable hash table sanitization. * hash-set.h: Pass new default argument to m_table. * hash-table.c: Add global variable with hash table sanitization limit. * hash-table.h (Allocator>::hash_table): Add new argument to ctor. (hashtab_chk_error): New. * params.def (PARAM_HASH_TABLE_VERIFICATION_LIMIT): New. * toplev.c (process_options): Set hash_table_sanitize_eq_limit from the PARAM_HASH_TABLE_VERIFICATION_LIMIT value. From-SVN: r272038
-
Jan Hubicka authored
* common.opt (flto-odr-type-merging): Ignore. * invoke.texi (-flto-odr-type-merging): Remove. * ipa-devirt.c (odr_vtable_hasher:odr_name_hasher): Remove. (can_be_vtable_hashed_p): Remove. (hash_odr_vtable): Remove. (odr_vtable_hasher::hash): Remove. (types_same_for_odr): Remove. (types_odr_comparable): Remove. (odr_vtable_hasher::equal): Remove. (odr_vtable_hash_type, odr_vtable_hash): Remove. (add_type_duplicate): Do not synchronize vtable and name hashtables. (get_odr_type): Do not use vtable hash. (dump_odr_type): Remove commented out code. (build_type_inheritance_graph): Do not allocate vtable hash. (rebuild_type_inheritance_graph): Do not delete vtable hash. * ipa-utils.h (type_with_linkage_p): Drop vtable hash path. (odr_type_p): Likewise. * tree.c (need_assembler_name_p): Remove flag_lto_odr_type_mering test. From-SVN: r272037
-
Jan Hubicka authored
* tree-ssa-alias.c (aliasing_component_refs_p): Do not give up immediately after same_types_for_tbaa_p returns -1 and continue looking for possible exact match; if matching types are arrays watch for partial overlaps. (indirect_ref_may_alias_decl_p): Watch for partial array overlaps. (indirect_refs_may_alias_p): Do type based disambiguation first; update comment. * gcc.dg/lto/alias-access-path-2.0.c: New testcase. From-SVN: r272036
-