public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/56466] New: ICE in verify_loop_structure, at cfgloop.c:1629 (loop with header n not in loop tree !)
@ 2013-02-26 17:42 antoine.balestrat at gmail dot com
  2013-02-26 18:01 ` [Bug tree-optimization/56466] [4.8 Regression] " 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-26 17:42 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56466
           Summary: ICE in verify_loop_structure, at cfgloop.c:1629 (loop
                    with header n not in loop tree !)
    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 20130226 :

$ cat peel.c
int a, b, c;

void f(void)
{
    for(; b; b++)
    {
        if(0)
            for(; b < 0; b++)
                if(1 % 0)
                {
                    while(1)
                    {
                        a = 0;
lbl1:
                        c++;
                    }
lbl2:
                    ;
                }

        goto lbl1;
    }

    a = 0;
    goto lbl2;
}

$ xgcc -w -funroll-loops -O2 peel.c
peel.c: In function ‘f’:
peel.c:26:1: error: loop with header 6 not in loop tree
 }
 ^
peel.c:26:1: internal compiler error: in verify_loop_structure, at
cfgloop.c:1629
0x60ffb5 verify_loop_structure()
    ../../srcdir/gcc/cfgloop.c:1629
0x7f70af peel_loops_completely
    ../../srcdir/gcc/loop-unroll.c:310
0x7f70af unroll_and_peel_loops(int)
    ../../srcdir/gcc/loop-unroll.c:215
0x7eaed7 rtl_unroll_and_peel_loops
    ../../srcdir/gcc/loop-init.c:492
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-28 10:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 17:42 [Bug tree-optimization/56466] New: ICE in verify_loop_structure, at cfgloop.c:1629 (loop with header n not in loop tree !) antoine.balestrat at gmail dot com
2013-02-26 18:01 ` [Bug tree-optimization/56466] [4.8 Regression] " mpolacek at gcc dot gnu.org
2013-02-26 18:04 ` mpolacek at gcc dot gnu.org
2013-02-26 18:16 ` mpolacek at gcc dot gnu.org
2013-02-27  9:41 ` rguenth at gcc dot gnu.org
2013-02-27 11:42 ` [Bug rtl-optimization/56466] " mpolacek at gcc dot gnu.org
2013-02-28 10:14 ` mpolacek at gcc dot gnu.org
2013-02-28 10:15 ` mpolacek 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).