From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 34DCF39874E5; Thu, 29 Oct 2020 20:27:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34DCF39874E5 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed Date: Thu, 29 Oct 2020 20:27:19 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu 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: Thu, 29 Oct 2020 20:27:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97633 Bug ID: 97633 Summary: ICE at -O3: verify_gimple failed Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- [508] % gcctk -v Using built-in specs. COLLECT_GCC=3Dgcctk COLLECT_LTO_WRAPPER=3D/local/suz-local/software/local/gcc-trunk/libexec/gcc= /x86_64-pc-linux-gnu/11.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-trunk/configure --disable-bootstrap --prefix=3D/local/suz-local/software/local/gcc-trunk --enable-languages=3Dc= ,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20201029 (experimental) [master revision e1344fe7b6a:a1208522e1a:79991e2348a864ace6ea2bf108a7502862f1129f] (GCC)=20 [509] %=20 [509] % gcctk -O2 -c small.c [510] %=20 [510] % gcctk -O3 -c small.c small.c: In function =E2=80=98g=E2=80=99: small.c:11:6: error: missing =E2=80=98PHI=E2=80=99 def 11 | void g () { | ^ vect_j_11.9_7 =3D PHI <(10), _8(3)> during GIMPLE pass: slp small.c:11:6: internal compiler error: verify_gimple failed 0xd4c3b5 verify_gimple_in_cfg(function*, bool) ../../gcc-trunk/gcc/tree-cfg.c:5461 0xbfb79e execute_function_todo ../../gcc-trunk/gcc/passes.c:1992 0xbfc682 execute_todo ../../gcc-trunk/gcc/passes.c:2046 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. [511] %=20 [511] % cat small.c extern short i (void); struct { short a; short b; } c; int d, e; static int f =3D 1; void g () { if (e) { if (f) goto L; while (d) { i (); short j =3D d, k =3D i (), l =3D k; L: if (!(d && e) || l) goto L; c.a =3D j; c.b =3D k; } } }=