public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/55833] New: ICE in verify_loop_structure, at cfgloop.c:1582 (BB should be marked irreducible !)
@ 2012-12-31 14:56 antoine.balestrat at gmail dot com
  2012-12-31 16:40 ` [Bug tree-optimization/55833] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: antoine.balestrat at gmail dot com @ 2012-12-31 14:56 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55833
           Summary: ICE in verify_loop_structure, at cfgloop.c:1582 (BB
                    should be marked irreducible !)
    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 20121231 :

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

void foo()
{
    unsigned d, l, *p, k = 1;

    if(bar())
    {
label:
        if((a = a <= 0))
        {
            if(c)
                d = b;

            if (b || d ? l : k ? : 0)
                a = d = 0;

            goto label;
        }
    }

    while(*p++)
        goto label;
}

$ xgcc -w -O3 bb.c
bb.c: In function ‘foo’:
bb.c:24:1: error: edge from 27 to 29 should be marked irreducible
 }
 ^
bb.c:24:1: error: basic block 29 should be marked irreducible
bb.c:24:1: error: edge from 29 to 7 should be marked irreducible
bb.c:24:1: internal compiler error: in verify_loop_structure, at cfgloop.c:1582
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

end of thread, other threads:[~2013-01-18 10:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-31 14:56 [Bug tree-optimization/55833] New: ICE in verify_loop_structure, at cfgloop.c:1582 (BB should be marked irreducible !) antoine.balestrat at gmail dot com
2012-12-31 16:40 ` [Bug tree-optimization/55833] " rguenth at gcc dot gnu.org
2013-01-02 10:33 ` mpolacek at gcc dot gnu.org
2013-01-02 11:22 ` mpolacek at gcc dot gnu.org
2013-01-02 11:31 ` rguenth at gcc dot gnu.org
2013-01-02 11:33 ` [Bug rtl-optimization/55833] [4.6/4.8 Regression] " rguenth at gcc dot gnu.org
2013-01-07 15:45 ` rguenth at gcc dot gnu.org
2013-01-10 15:02 ` rguenth at gcc dot gnu.org
2013-01-10 15:12 ` mpolacek at gcc dot gnu.org
2013-01-10 15:18 ` mpolacek at gcc dot gnu.org
2013-01-10 15:23 ` rguenth at gcc dot gnu.org
2013-01-17 19:21 ` mpolacek at gcc dot gnu.org
2013-01-17 19:22 ` mpolacek at gcc dot gnu.org
2013-01-17 19:45 ` [Bug rtl-optimization/55833] [4.6 " mpolacek at gcc dot gnu.org
2013-01-18 10:20 ` 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).