From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9A8213851C05; Wed, 13 May 2020 16:22:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A8213851C05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589386975; bh=nFBZt4TxACzqRm3futAc2vikHktwe/nL8oR3H6b/bgU=; h=From:To:Subject:Date:From; b=hQDasNmkyMU8iKbfEXkJZmQLCVEPJm6tAjHQNSrOW+8KUZvXnzt/vmisNvFamh3S1 8PBfniZt06bD4prAtZZBM+xNpBDqixkYdyQY3mLaPpA9XtCjxB7HtQMgW4A+9vdjTf dWg+oXBSZ44Hdjqoi6sGOblC5QnmY/aEwkZD2iLM= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95107] New: [10/11 Regression] ICE in hash_operand, at fold-const.c:3768 Date: Wed, 13 May 2020 16:22:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 16:22:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95107 Bug ID: 95107 Summary: [10/11 Regression] ICE in hash_operand, at fold-const.c:3768 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed between 20191110 and 20191117, with -fno-automatic at -O2+ : $ cat z1.f90 program p type t real, pointer :: a =3D> null() end type type t2 type(t) :: b(1) end type type(t2) :: x associate (y =3D> x%b) end associate end $ gfortran-9 -c z1.f90 -fno-automatic -O2 $ $ gfortran-11-20200510 -c z1.f90 -fno-automatic -O2 during IPA pass: icf z1.f90:11:0: 11 | end | internal compiler error: in hash_operand, at fold-const.c:3768 0x8dfc2a operand_compare::hash_operand(tree_node const*, inchash::hash&, unsigned int) ../../gcc/fold-const.c:3768 0x8e038c operand_compare::hash_operand(tree_node const*, inchash::hash&, unsigned int) ../../gcc/fold-const.c:3858 0x8dffa2 operand_compare::hash_operand(tree_node const*, inchash::hash&, unsigned int) ../../gcc/fold-const.c:3685 0x142c58f ipa_icf::sem_variable::init(ipa_icf_gimple::func_checker*) ../../gcc/ipa-icf.c:1909 0x14340ce ipa_icf::sem_variable::parse(varpool_node*, bitmap_obstack*, ipa_icf_gimple::func_checker*) ../../gcc/ipa-icf.c:1889 0x143897d ipa_icf::sem_item_optimizer::parse_funcs_and_vars() ../../gcc/ipa-icf.c:2457 0xaf61ec execute_ipa_summary_passes(ipa_opt_pass_d*) ../../gcc/passes.c:2191 0x7fca29 ipa_passes ../../gcc/cgraphunit.c:2642 0x7fca29 symbol_table::compile() ../../gcc/cgraphunit.c:2752 0x7fe806 symbol_table::compile() ../../gcc/cgraphunit.c:3002 0x7fe806 symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2999=