From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4AF9B38493C8; Mon, 30 Jan 2023 20:06:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AF9B38493C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675109170; bh=nzxBIBCoMig79OlFgVgwI7P7/5/mP3Q1KgVjTLRcAws=; h=From:To:Subject:Date:From; b=Ar+CGP1MjG37KkNnWR+/mBGSZ+JvkEtyBMZhzVkxnNJjAGaGRU5O026pTuA5rajYq ZiPppKownroiv/YMG2jf2raawNnvQP/xaSabHsv42vJrzxmAL/MDz7kmVznsdtAQQI t0y4wjJlf9NJ4WdfwiW1zqv78/dRftRJDc7O/l/Q= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108605] New: [13 Regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089 Date: Mon, 30 Jan 2023 20:06:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108605 Bug ID: 108605 Summary: [13 Regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started between 20221016 and 20221023, at -O2+ : $ cat z1.cc typedef enum {A} E; struct S { E __attribute__ ((mode (__byte__))) a; E __attribute__ ((mode (__byte__))) b; E __attribute__ ((mode (__byte__))) c; int d[2147483647]; E e; }; void foo (S *s) { if (s->b && s->c !=3D A) __builtin_abort (); } void bar () { struct S s[2]; s[0].a =3D A; s[0].e =3D A; foo (s); } $ g++-13-20230129 -c z1.cc -O2 during IPA pass: inline z1.cc:20:1: internal compiler error: in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089 20 | } | ^ 0x1b03d95 ipa_push_agg_values_from_jfunc(ipa_node_params*, cgraph_node*, ipa_agg_jump_function*, unsigned int, vec*) ../../gcc/ipa-cp.cc:2088 0xc6f68d evaluate_properties_for_edge(cgraph_edge*, bool, unsigned int*, unsigned int*, ipa_auto_call_arg_values*, bool) ../../gcc/ipa-fnsummary.cc:668 0xc83842 do_estimate_edge_size(cgraph_edge*) ../../gcc/ipa-inline-analysis.cc:335 0xc851ba estimate_edge_size ../../gcc/ipa-inline.h:79 0xc851ba estimate_edge_growth ../../gcc/ipa-inline.h:100 0xc851ba do_estimate_growth_1 ../../gcc/ipa-inline-analysis.cc:434 0xc85835 cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*, void*), void*, bool) ../../gcc/cgraph.h:3416 0xc85835 estimate_growth(cgraph_node*) ../../gcc/ipa-inline-analysis.cc:472 0x1b237a8 inline_small_functions ../../gcc/ipa-inline.cc:1986 0x1b24151 ipa_inline ../../gcc/ipa-inline.cc:2754 0x1b24151 execute ../../gcc/ipa-inline.cc:3153=