From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A8C843858D32; Mon, 30 Jan 2023 15:43:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8C843858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675093386; bh=gJEzJZ3+uuPkxJOpGz3znuzhoy0ReGljqfPGExZIIBA=; h=From:To:Subject:Date:From; b=abIY3Tn2ispwUiBhD8lHUqD7hspNDza2OnGRuLplQ00uTsikVT3F47fWTAxzq150k UsZFWO+rhFFkImIdbgiQqdekkrb3H2xRDQ6JX/4VY1mkhLcuedtvxUauSbkdpwk7/9 4B7ZCsXzkJv/vrt51hb/X2IKogWrRPbD/QJvteiU= From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108601] New: [13 Regression] vector peeling ICEs with PGO + LTO + IPA inlining in gcc_r in SPEC2017 Date: Mon, 30 Jan 2023 15:43:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org 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 keywords 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=3D108601 Bug ID: 108601 Summary: [13 Regression] vector peeling ICEs with PGO + LTO + IPA inlining in gcc_r in SPEC2017 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org Target Milestone: --- PGO seems fine, LTO seems fine, but PGO + LTO + increase inlining makes it crash. Full options: -fprofile-generate -mcpu=3Dnative -Ofast -fomit-frame-pointer -flto=3Dauto = --param ipa-cp-eval-threshold=3D1 --param ipa-cp-unit-growth=3D80 GCC 12 seems fine. I'm still trying to reduce (it's a combination of my worst nightmares :( ),= but in the mean time here's the crash during GIMPLE pass: vect opts.c: In function 'common_handle_option': opts.c:1456:1: internal compiler error: in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:8664 1456 | common_handle_option (size_t scode, const char *arg, int value, | ^ 0xdcff4b vect_peel_nonlinear_iv_init(gimple**, tree_node*, tree_node*, tree_node*, vect_induction_op_type) /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vect-loop.cc:8664 0xdee503 vect_update_ivs_after_vectorizer /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vect-loop-manip.cc:1= 594 0xdee503 vect_do_peeling(_loop_vec_info*, tree_node*, tree_node*, tree_node= **, tree_node**, tree_node**, int, bool, bool, tree_node**) /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vect-loop-manip.cc:2= 999 0xde49d7 vect_transform_loop(_loop_vec_info*, gimple*) /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vect-loop.cc:10837 0xe17447 vect_transform_loops /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vectorizer.cc:1007 0xe17a8b try_vectorize_loop_1 /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vectorizer.cc:1153 0xe17a8b try_vectorize_loop /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vectorizer.cc:1183 0xe17f6b execute /opt/buildAgent/work/5c94c4ced6ebfcd0/gcc/tree-vectorizer.cc:1299=