This project is mirrored from git://gcc.gnu.org/git/gcc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 30 Jan, 2020 1 commit
  2. 23 Jan, 2020 1 commit
  3. 22 Jan, 2020 3 commits
  4. 21 Jan, 2020 2 commits
  5. 17 Jan, 2020 1 commit
  6. 20 Dec, 2019 1 commit
  7. 18 Dec, 2019 1 commit
  8. 17 Dec, 2019 1 commit
  9. 16 Dec, 2019 1 commit
  10. 13 Dec, 2019 1 commit
  11. 12 Dec, 2019 1 commit
  12. 14 Nov, 2019 1 commit
  13. 07 Nov, 2019 1 commit
  14. 05 Nov, 2019 1 commit
  15. 04 Nov, 2019 1 commit
  16. 30 Oct, 2019 20 commits
    • jakub's avatar
      * g++.dg/gomp/declare-variant-6.C: New test. · 95e851a7
      jakub authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277620 138bc75d-0d04-0410-961f-82ee72b054a4
      95e851a7
    • marxin's avatar
      Use const_tree more in IPA ICF. · 77419f15
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* ipa-icf-gimple.c (func_checker::compare_ssa_name): Use
      	const_tree as function argument.
      	(func_checker::compare_decl): Likewise.
      	(func_checker::operand_equal_p): Likewise.
      	(func_checker::compare_variable_decl): Likewise.
      	(func_checker::parse_labels): Likewise.
      	* ipa-icf-gimple.h: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277619 138bc75d-0d04-0410-961f-82ee72b054a4
      77419f15
    • marxin's avatar
      Remove alias set comparison. · 9f884ea4
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* ipa-icf-gimple.c (func_checker::compatible_types_p):
      	Do not compare alias sets.  It's handled by operand_equal_p.
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* c-c++-common/Wstringop-truncation-4.c: Disable IPA ICF.
      	* gcc.dg/tree-ssa/pr64910-2.c: Likewise.
      	* gcc.dg/tree-ssa/pr79352.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277618 138bc75d-0d04-0410-961f-82ee72b054a4
      9f884ea4
    • marxin's avatar
      Remove comparison for polymorphic types. · 88345d56
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* ipa-icf-gimple.c (func_checker::func_checker): Do not
      	initialize m_compare_polymorphic.
      	(func_checker::compare_decl): Do not compare polymorphic types.
      	* ipa-icf-gimple.h (m_compare_polymorphic): Remove.
      	* ipa-icf.c (sem_function::equals_private): Do not call
      	compare_polymorphic_p.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277617 138bc75d-0d04-0410-961f-82ee72b054a4
      88345d56
    • marxin's avatar
      IPA ICF: remove dead code · 0a5e5513
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* ipa-icf-gimple.c (func_checker::compare_ssa_name): Call
      	compare_operand.
      	(func_checker::compare_memory_operand): Remove.
      	(func_checker::compare_cst_or_decl): Remove.
      	(func_checker::operand_equal_valueize): Do not handle
      	FIELD_DECL.
      	(func_checker::compare_gimple_call): Call compare_operand.
      	(func_checker::compare_gimple_assign): Likewise.
      	* ipa-icf-gimple.h: Remove compare_cst_or_decl.
      	* ipa-icf.c (sem_function::icf_handled_component_p): Remove.
      	* ipa-icf.h (icf_handled_component_p): Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277616 138bc75d-0d04-0410-961f-82ee72b054a4
      0a5e5513
    • marxin's avatar
      Integrate that for IPA ICF. · a052919e
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* ipa-icf-gimple.c (func_checker::hash_operand): New.
      	(func_checker::compare_cst_or_decl): Remove handling
      	of FIELD_DECL.
      	(func_checker::compare_operand): Transform to ...
      	(func_checker::operand_equal_p): ... this.
      	* ipa-icf-gimple.h (class func_checker): Add
      	operand_equal_p and hash_operand.
      	* ipa-icf.c (sem_function::equals_private): Fix
      	pushing and popping of cfun.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277615 138bc75d-0d04-0410-961f-82ee72b054a4
      a052919e
    • marxin's avatar
      Come up with an abstraction. · fc0bba82
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* fold-const.c (operand_equal_p): Move to ...
      	(operand_compare::operand_equal_p): ... here.
      	(operand_compare::verify_hash_value): New.
      	(add_expr): Move to ...
      	(operand_compare::hash_operand): ... here.
      	* fold-const.h (operand_equal_p): Move to the class.
      	(class operand_compare): New.
      	* tree.c (add_expr): Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277614 138bc75d-0d04-0410-961f-82ee72b054a4
      fc0bba82
    • jakub's avatar
      * cp-tree.h (omp_declare_variant_finalize, build_local_temp): Declare. · 8fc1843e
      jakub authored
      	* decl.c: Include omp-general.h.
      	(declare_simd_adjust_this): Add forward declaration.
      	(omp_declare_variant_finalize_one, omp_declare_variant_finalize): New
      	function.
      	(cp_finish_decl, finish_function): Call omp_declare_variant_finalize.
      	* parser.c (cp_finish_omp_declare_variant): Adjust parsing of the
      	variant id-expression and propagate enough information to
      	omp_declare_variant_finalize_one in the attribute so that it can
      	finalize it.
      	* class.c (finish_struct): Call omp_declare_variant_finalize.
      	* tree.c (build_local_temp): No longer static, remove forward
      	declaration.
      
      	* c-c++-common/gomp/declare-variant-2.c: Add a test with , before
      	match clause.
      	* c-c++-common/gomp/declare-variant-6.c: Expect diagnostics also from
      	C++ FE and adjust regexp so that it handles C++ pretty printing of
      	function names.
      	* g++.dg/gomp/declare-variant-1.C: New test.
      	* g++.dg/gomp/declare-variant-2.C: New test.
      	* g++.dg/gomp/declare-variant-3.C: New test.
      	* g++.dg/gomp/declare-variant-4.C: New test.
      	* g++.dg/gomp/declare-variant-5.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277613 138bc75d-0d04-0410-961f-82ee72b054a4
      8fc1843e
    • marxin's avatar
      operand_equal_p: add support for OBJ_TYPE_REF. · 2117b759
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* fold-const.c (operand_equal_p): Support OBJ_TYPE_REF.
      	* tree.c (add_expr): Hash parts of OBJ_TYPE_REF.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277612 138bc75d-0d04-0410-961f-82ee72b054a4
      2117b759
    • paolo's avatar
      /cp · 93c3f8c1
      paolo authored
      2019-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* typeck.c (cp_build_modify_expr): Prefer error + inform to
      	error + error in one place.
      	(get_delta_difference_1): Likewise.
      	(get_delta_difference): Likewise, in two places.
      
      /testsuite
      2019-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/conversion/ptrmem2.C: Adjust for error + inform.
      	* g++.dg/gomp/tpl-atomic-2.C: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277610 138bc75d-0d04-0410-961f-82ee72b054a4
      93c3f8c1
    • burnus's avatar
      libgomp/testsuite – use 'stop' · 47619f73
      burnus authored
      	libgomp/
      	* testsuite/libgomp.fortran/: Replace 'STOP' by 'stop'.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277609 138bc75d-0d04-0410-961f-82ee72b054a4
      47619f73
    • marxin's avatar
      Use symtab_node::order in LTO sections with body. · 77417875
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	PR lto/91393
      	PR lto/88220
      	* cgraph.c (cgraph_node::get_create): Overwrite node->order
      	from a first_clone in order to get proper LTO section
      	in LTO stream.
      	(cgraph_node::get_untransformed_body):
      	Use lto_get_section_data where symtab_node::order
      	must be provided.
      	* cgraphclones.c (cgraph_node::find_replacement):
      	Update also symbol order.
      	* ipa-fnsummary.c (ipa_fn_summary_read):
      	Use new function lto_get_summary_section_data.
      	* ipa-hsa.c (ipa_hsa_read_summary): Likewise.
      	* ipa-icf.c (sem_item_optimizer::read_summary):
      	Likewise.
      	* ipa-prop.c (ipa_prop_read_jump_functions):
      	Likewise.
      	(ipcp_read_transformation_summaries): Likewise.
      	* ipa-sra.c (ipa_sra_read_summary): Likewise.
      	* lto-cgraph.c (input_node): Add also order_base.
      	(input_varpool_node): Likewise.
      	(input_cgraph_1): Assign the order_base.
      	(input_cgraph_opt_summary): Use new lto_get_summary_section_data.
      	* lto-opts.c (lto_write_options): Pass new argument.
      	* lto-section-in.c (lto_get_section_data): Add new argumente order.
      	(lto_get_summary_section_data): New.
      	(lto_get_raw_section_data): Add order argument.
      	(lto_create_simple_input_block): Likewise.
      	* lto-section-out.c (lto_destroy_simple_output_block):
      	Likewise.
      	* lto-streamer-in.c (lto_input_toplevel_asms):
      	Use lto_get_summary_section_data.
      	(lto_input_mode_table): Likewise.
      	* lto-streamer-out.c (produce_asm): Pass symtab_node::order.
      	(lto_output_toplevel_asms): Pass new argument.
      	(copy_function_or_variable): Likewise.
      	(produce_lto_section):Likewise.
      	(produce_symtab): Likewise.
      	(lto_write_mode_table): Likewise.
      	(produce_asm_for_decls): Likewise.
      	* lto-streamer.c (lto_get_section_name): Concat symbol name
      	and symbol order.
      	* lto-streamer.h (lto_get_section_data): Add order argument.
      	(lto_get_summary_section_data): New.
      	(lto_get_raw_section_data): Add order argument.
      	(lto_get_section_name): Likewise.
      	* varpool.c (varpool_node::get_constructor): Pass order argument.
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	PR lto/91393
      	PR lto/88220
      	* lto-common.c (lto_file_finalize): Use lto_get_summary_section_data.
      	(get_section_data): Add order argument.
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	PR lto/91393
      	PR lto/88220
      	* gcc.dg/lto/pr91393_0.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277607 138bc75d-0d04-0410-961f-82ee72b054a4
      77417875
    • burnus's avatar
      libgomp/testsuite – use 'stop' and 'dg-do run' · 56afb2ae
      burnus authored
              libgomp/
              * testsuite/libgomp.fortran/target-simd.f90: Use stop not abort.
              * testsuite/libgomp.fortran/use_device_ptr-optional-1.f90:
              Ditto; add 'dg-do run' for torture testing.
              * testsuite/libgomp.fortran/lastprivate1.f90:  Add 'dg-do run'.
              * testsuite/libgomp.fortran/lastprivate2.f90: Ditto.
              * testsuite/libgomp.fortran/nestedfn4.f90: Ditto.
              * testsuite/libgomp.fortran/pr25219.f90: Ditto.
              * testsuite/libgomp.fortran/pr28390.f: Ditto.
              * testsuite/libgomp.fortran/pr35130.f90: Ditto.
              * testsuite/libgomp.fortran/pr90779.f90: Ditto.
              * testsuite/libgomp.fortran/task2.f90: Ditto.
              * testsuite/libgomp.fortran/taskgroup1.f90: Ditto.
              * testsuite/libgomp.fortran/taskloop1.f90: Ditto.
              * testsuite/libgomp.fortran/use_device_addr-1.f90: Ditto.
              * testsuite/libgomp.fortran/use_device_addr-2.f90: Ditto.
              * testsuite/libgomp.fortran/workshare1.f90: Ditto.
              * testsuite/libgomp.fortran/workshare2.f90: Ditto.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277606 138bc75d-0d04-0410-961f-82ee72b054a4
      56afb2ae
    • jakub's avatar
      PR tree-optimization/92262 · bce4335e
      jakub authored
      	* tree-ssa-loop-ivopts.c (get_debug_computation_at): Don't unshare
      	ubase or cbase here.
      	(remove_unused_ivs): Unshare comp before using it.
      
      	* g++.dg/opt/pr92262.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277605 138bc75d-0d04-0410-961f-82ee72b054a4
      bce4335e
    • hubicka's avatar
      * ipa-prop.c (update_jump_functions_after_inlining): · 102f6a3c
      hubicka authored
      	Watch for missing summaries.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277604 138bc75d-0d04-0410-961f-82ee72b054a4
      102f6a3c
    • rguenth's avatar
      2019-10-30 Richard Biener <rguenther@suse.de> · 68421370
      rguenth authored
      	PR tree-optimization/65930
      	* tree-vect-loop.c (vect_is_simple_reduction): For reduction
      	chains also allow a leading and trailing conversion.
      	* tree-vect-slp.c (vect_get_and_check_slp_defs): Handle
      	intermediate reduction chains.
      	(vect_analyze_slp_instance): Likewise.  Build a SLP
      	node for a trailing conversion manually.
      
      	* gcc.dg/vect/pr65930-2.c: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277603 138bc75d-0d04-0410-961f-82ee72b054a4
      68421370
    • markeggleston's avatar
      Suppress warning with -Wno-overwrite-recursive. · 5f547622
      markeggleston authored
      The use of -fno-automatic with -frecursive results in a warning implying
      that recursion will not work. If all relevant local variable have the
      automatic attribute explicitly declared recursion does work and the warning
      is redundant.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277602 138bc75d-0d04-0410-961f-82ee72b054a4
      5f547622
    • marxin's avatar
      Remove cgraph_local_info structure. · c4826245
      marxin authored
      2019-10-30  Martin Liska  <mliska@suse.cz>
      
      	* cgraph.c (cgraph_node::local_info): Transform to ...
      	(cgraph_node::local_info_node): ... this.
      	(cgraph_node::dump): Remove cgraph_local_info and
      	put its fields directly into cgraph_node.
      	(cgraph_node::get_availability): Likewise.
      	(cgraph_node::make_local): Likewise.
      	(cgraph_node::verify_node): Likewise.
      	* cgraph.h (struct GTY): Likewise.
      	* cgraphclones.c (set_new_clone_decl_and_node_flags): Likewise.
      	(duplicate_thunk_for_node): Likewise.
      	(cgraph_node::create_clone): Likewise.
      	(cgraph_node::create_virtual_clone): Likewise.
      	(cgraph_node::create_version_clone): Likewise.
      	* cgraphunit.c (cgraph_node::reset): Likewise.
      	(cgraph_node::finalize_function): Likewise.
      	(cgraph_node::add_new_function): Likewise.
      	(analyze_functions): Likewise.
      	* combine.c (setup_incoming_promotions): Likewise.
      	* config/i386/i386.c (ix86_function_regparm): Likewise.
      	(ix86_function_sseregparm): Likewise.
      	(init_cumulative_args): Likewise.
      	* ipa-cp.c (determine_versionability): Likewise.
      	(count_callers): Likewise.
      	(set_single_call_flag): Likewise.
      	(initialize_node_lattices): Likewise.
      	(estimate_local_effects): Likewise.
      	(create_specialized_node): Likewise.
      	(identify_dead_nodes): Likewise.
      	* ipa-fnsummary.c (compute_fn_summary): Likewise.
      	(ipa_fn_summary_generate): Likewise.
      	* ipa-hsa.c (check_warn_node_versionable): Likewise.
      	(process_hsa_functions): Likewise.
      	* ipa-icf.c (set_local): Likewise.
      	* ipa-inline-analysis.c (initialize_inline_failed): Likewise.
      	* ipa-inline.c (speculation_useful_p): Likewise.
      	* ipa-profile.c (ipa_propagate_frequency): Likewise.
      	(ipa_profile): Likewise.
      	* ipa-split.c (split_function): Likewise.
      	(execute_split_functions): Likewise.
      	* ipa-sra.c (ipa_sra_preliminary_function_checks): Likewise.
      	(ipa_sra_ipa_function_checks): Likewise.
      	* ipa-visibility.c (function_and_variable_visibility): Likewise.
      	* ipa.c (symbol_table::remove_unreachable_nodes): Likewise.
      	* lto-cgraph.c (lto_output_node): Likewise.
      	(input_overwrite_node): Likewise.
      	* multiple_target.c (expand_target_clones): Likewise.
      	* omp-simd-clone.c (simd_clone_create): Likewise.
      	* trans-mem.c (expand_call_tm): Likewise.
      	(ipa_tm_mayenterirr_function): Likewise.
      	(ipa_tm_diagnose_tm_safe): Likewise.
      	(ipa_tm_diagnose_transaction): Likewise.
      	(ipa_tm_create_version): Likewise.
      	(ipa_tm_transform_calls_redirect): Likewise.
      	(ipa_tm_execute): Likewise.
      	* tree-inline.c (expand_call_inline): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277601 138bc75d-0d04-0410-961f-82ee72b054a4
      c4826245
    • marxin's avatar
      Remove cgraph_global_info. · 4608f1e4
      marxin authored
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277600 138bc75d-0d04-0410-961f-82ee72b054a4
      4608f1e4
    • gccadmin's avatar
      Daily bump. · 0d8e52a8
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277599 138bc75d-0d04-0410-961f-82ee72b054a4
      0d8e52a8
  17. 29 Oct, 2019 2 commits
    • paolo's avatar
      /cp · 2af5e2db
      paolo authored
      2019-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* typeck.c (build_x_unary_op): Use the location_t argument in
      	three error_at.
      
      /testsuite
      2019-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/other/ptrmem8.C: Test locations too.
      	* g++.dg/template/dtor6.C: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277595 138bc75d-0d04-0410-961f-82ee72b054a4
      2af5e2db
    • mpolacek's avatar
      PR c++/90998 - ICE with copy elision in init by ctor and -Wconversion. · f5d93a69
      mpolacek authored
      After r269667 which introduced joust_maybe_elide_copy, in C++17 we can elide
      a constructor if it uses a conversion function that returns a prvalue, and
      use the conversion function in its stead.
      
      This eliding means that if we have a candidate that previously didn't have
      ->second_conv, it can have it after the elision.  This confused the
      -Wconversion warning because it was assuming that if cand1->second_conv is
      non-null, so is cand2->second_conv.  Here cand1->second_conv was non-null
      but cand2->second_conv remained null, so it crashed in compare_ics.
      
      I checked with clang that both compilers call A::operator B() in C++17 and
      B::B(A const &) otherwise.
      
      	* call.c (joust): Don't attempt to warn if ->second_conv is null.
      
      	* g++.dg/cpp0x/overload-conv-4.C: New test.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277593 138bc75d-0d04-0410-961f-82ee72b054a4
      f5d93a69