From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 14DF03858C5E; Tue, 4 Apr 2023 16:10:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14DF03858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680624659; bh=khlXPWMj1cs+l35iR05kNLRJyauJGSNSwmwF392nnXo=; h=From:To:Subject:Date:From; b=rSos5Xm+F0tJJ7jFInmNrnNsmBbQkMa7uOQ7Rsk7VYnOVZ4T9Pt45PbFLos4QLhR7 0NgmYqvpDvJVNcvwMaVsXko4kMbKs8AkclMTVNsfhjn5yScjilANqQTr6jDGMgiAKc 9OrTNIQtPYpsXVWwK2kmGT5JnID7T4nsFB8NGX14= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109410] New: [13 Regression] ICE: verify_flow_info failed Date: Tue, 04 Apr 2023 16:10:58 +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=3D109410 Bug ID: 109410 Summary: [13 Regression] ICE: verify_flow_info failed 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 20220717 and 20220724, at -O1+ : (testcase derived from pr108783.c) (gcc configured with --enable-checking=3Dyes) $ cat z1.c __attribute__((returns_twice)) int baz (int, int); int bar (int x) { return x; } int foo (int x, int y) { int a; a =3D bar (x); baz (x, y); return y && a && a; } int qux (int x, int y) { int a; a =3D bar (x); baz (x, y); return y && a !=3D 42 && a >=3D 42; } int corge (int x, int y) { int a; baz (x, y); a =3D bar (x); return y || a =3D=3D 42 || a > 42; } $ gcc-13-20230402 -c z1.c -O2 z1.c: In function 'corge': z1.c:24:1: error: returns_twice call is not first in basic block 2 24 | corge (int x, int y) | ^~~~~ baz (x_7(D), y_8(D)); during GIMPLE pass: reassoc z1.c:24:1: internal compiler error: verify_flow_info failed 0x8eeb6f verify_flow_info() ../../gcc/cfghooks.cc:285 0xd58ce6 execute_function_todo ../../gcc/passes.cc:2110 0xd59742 execute_todo ../../gcc/passes.cc:2152=