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

             Bug #: 55191
           Summary: ICE in compute_antic at tree-ssa-pre.c:2511
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: translation
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: antoine.balest...@gmail.com


Hello !
The following testcase makes GCC 4.8.0 as of 20121103 ICE at -O2 and higher.

$ cat antic.c
int a, b;

void f(void)
{
    b = a || b;

    for(a = 0; a < 2; a++);
    while(1);
}

$ xgcc -O2 -w antic.c
antic.c: In function ‘f’:
antic.c:3:6: internal compiler error: in compute_antic, at tree-ssa-pre.c:2511
 void f(void)
      ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to