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

            Bug ID: 57442
           Summary: ICE in appears_later_in_bb, at tree-ssa-reassoc.c:2891
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoine.balestrat at gmail dot com

Hello !
Using GCC 4.9.0 as of 20130528 (on a x86_64 box) :

$ cat reassoc.c
short a;
unsigned b;
long c;
int d;

void f(void)
{
    b = a ? : (a = b) - c + (d - (b + b));
}

$ xgcc -O1 reassoc.c
reassoc.c: In function ‘f’:
reassoc.c:6:6: internal compiler error: in appears_later_in_bb, at 
tree-ssa-reassoc.c:2891
 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