From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1829 invoked by alias); 2 Feb 2013 11:08:26 -0000 Received: (qmail 1688 invoked by uid 48); 2 Feb 2013 11:08:12 -0000 From: "antoine.balestrat at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/56181] New: ICE in verify_loop_structure, at cfgloop.c:1581 with -ftracer Date: Sat, 02 Feb 2013 11:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: antoine.balestrat at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-02/txt/msg00114.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56181 Bug #: 56181 Summary: ICE in verify_loop_structure, at cfgloop.c:1581 with -ftracer Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: antoine.balestrat@gmail.com Using GCC 4.8.0 as of 20130202 : $ cat loop.c int a, b; void f(void) { if(a++) { for(a =3D 0; a < 1;) { for(b =3D 0; b < 1; b++) { while(a++ < 0); lbl: ; } if(a) goto lbl; } goto lbl; } } $ xgcc -w -O2 -ftracer loop.c loop.c: In function =E2=80=98f=E2=80=99: loop.c:3:6: error: size of loop 3 should be 0, not 3 void f(void) ^ loop.c:3:6: error: bb 8 does not belong to loop 3 loop.c:3:6: error: bb 10 does not belong to loop 3 loop.c:3:6: error: bb 9 does not belong to loop 3 loop.c:3:6: error: bb 8 has father loop 2, should be loop 3 loop.c:3:6: error: bb 10 has father loop 2, should be loop 3 loop.c:3:6: error: bb 9 has father loop 2, should be loop 3 loop.c:3:6: error: loop 3=E2=80=99s header does not belong directly to it loop.c:3:6: internal compiler error: in verify_loop_structure, at cfgloop.c:1581 0x5f8564 verify_loop_structure() ../../srcdir/gcc/cfgloop.c:1581 0x8defcd tracer ../../srcdir/gcc/tracer.c:385 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. It looks like PR55270, and after bisection, it appears that it started with http://gcc.gnu.org/viewcvs?view=3Drevision&revision=3D185913 too.