From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18483 invoked by alias); 9 Feb 2013 12:09:05 -0000 Received: (qmail 18109 invoked by uid 48); 9 Feb 2013 12:08:29 -0000 From: "antoine.balestrat at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/56264] New: ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:557 Date: Sat, 09 Feb 2013 12:09:00 -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-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/msg00899.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56264 Bug #: 56264 Summary: ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:557 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: antoine.balestrat@gmail.com Using GCC 4.8.0 as of 220130209 : $ cat check.c int a, b, c; void f(void) { if(b) { for(a =3D 0; a < 1; a++) lbl: c =3D c && b ? : 0; c =3D 0; goto lbl; } if(a) goto lbl; } $ xgcc -w -O2 -funswitch-loops check.c check.c: In function =E2=80=98f=E2=80=99: check.c:3:6: internal compiler error: in check_loop_closed_ssa_use, at=20 tree-ssa-loop-manip.c:557 void f(void) ^ 0x9d90f6 check_loop_closed_ssa_use ../../srcdir/gcc/tree-ssa-loop-manip.c:556 0x9dac42 verify_loop_closed_ssa(bool) ../../srcdir/gcc/tree-ssa-loop-manip.c:602 0x83eede execute_function_todo ../../srcdir/gcc/passes.c:1974 0x83f757 execute_todo ../../srcdir/gcc/passes.c:1999 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.