From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8B8893858D1E; Tue, 26 Apr 2022 12:23:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B8893858D1E From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/105394] New: [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2 Date: Tue, 26 Apr 2022 12:23:54 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan 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 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: Tue, 26 Apr 2022 12:23:54 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105394 Bug ID: 105394 Summary: [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails: $ ./arm-eabi-gcc -c ~/toolchain/src/gcc/gcc/testsuite/g++.dg/opt/pr79734.C -march=3Darmv8.1-m.main+mve -mfloat-abi=3Dhard -O /home/alecop01/toolchain/src/gcc/gcc/testsuite/g++.dg/opt/pr79734.C: In function 'void foo(V*, V*)': /home/alecop01/toolchain/src/gcc/gcc/testsuite/g++.dg/opt/pr79734.C:9:1: er= ror: integral result type precision does not match field size of 'bit_field_ref' 9 | foo (V *a, V *b) | ^~~ _40 =3D BIT_FIELD_REF <_6, 32, 0>; /home/alecop01/toolchain/src/gcc/gcc/testsuite/g++.dg/opt/pr79734.C:9:1: er= ror: integral result type precision does not match field size of 'bit_field_ref' _42 =3D BIT_FIELD_REF <_6, 32, 32>; /home/alecop01/toolchain/src/gcc/gcc/testsuite/g++.dg/opt/pr79734.C:9:1: er= ror: integral result type precision does not match field size of 'bit_field_ref' _44 =3D BIT_FIELD_REF <_6, 32, 64>; /home/alecop01/toolchain/src/gcc/gcc/testsuite/g++.dg/opt/pr79734.C:9:1: er= ror: integral result type precision does not match field size of 'bit_field_ref' _46 =3D BIT_FIELD_REF <_6, 32, 96>; during GIMPLE pass: veclower2 /home/alecop01/toolchain/src/gcc/gcc/testsuite/g++.dg/opt/pr79734.C:9:1: internal compiler error: verify_gimple failed 0x110c388 verify_gimple_in_cfg(function*, bool) /home/alecop01/toolchain/src/gcc/gcc/tree-cfg.cc:5561 0xfa3726 execute_function_todo /home/alecop01/toolchain/src/gcc/gcc/passes.cc:2085 0xfa388e do_per_function /home/alecop01/toolchain/src/gcc/gcc/passes.cc:1688 0xfa3a29 execute_todo /home/alecop01/toolchain/src/gcc/gcc/passes.cc:2139 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. Since commit r12-7339-g91224cf625dc90304bb515a0cc602beed48fe3da, the arm bu= ild was broken. Commit r12-7356-gfd0ab7c734b04b91653467b94afd48ceca122083 fixes= the build, and we start seeing the ICE after this commit. So the triggering com= mit is in this range.=