public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/56264] New: ICE in check_loop_closed_ssa_use, at  tree-ssa-loop-manip.c:557
@ 2013-02-09 12:09 antoine.balestrat at gmail dot com
  2013-02-09 12:15 ` [Bug tree-optimization/56264] " mpolacek at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: antoine.balestrat at gmail dot com @ 2013-02-09 12:09 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56264

             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 = 0; a < 1; a++)
lbl:
            c = c && b ? : 0;

        c = 0;
        goto lbl;
    }

    if(a)
        goto lbl;
}

$ xgcc -w -O2 -funswitch-loops check.c
check.c: In function ‘f’:
check.c:3:6: internal compiler error: in check_loop_closed_ssa_use, at 
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 <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-11 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-09 12:09 [Bug tree-optimization/56264] New: ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:557 antoine.balestrat at gmail dot com
2013-02-09 12:15 ` [Bug tree-optimization/56264] " mpolacek at gcc dot gnu.org
2013-02-09 13:37 ` [Bug tree-optimization/56264] [4.8 Regression] " mpolacek at gcc dot gnu.org
2013-02-10 12:21 ` rguenth at gcc dot gnu.org
2013-02-11 10:00 ` rguenth at gcc dot gnu.org
2013-02-11 10:28 ` rguenth at gcc dot gnu.org
2013-02-11 15:08 ` rguenth at gcc dot gnu.org
2013-02-11 15:10 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).