https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71594

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-06-20
                 CC|                            |trippels at gcc dot gnu.org
            Summary|ice in                      |[7 Regression] ice in
                   |maybe_legitimize_operand,   |maybe_legitimize_operand,
                   |at optabs.c:6893            |at optabs.c:6893
     Ever confirmed|0                           |1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
In the future please show us what -march=native expands to.

markus@x4 tmp % cat bug295.i
unsigned short a;
int b, c;
int *d;
void fn1() {
  *d = 24;
  for (; *d <= 65;) {
    unsigned short *e = &a;
    b = (a &= 0 <= 0) < (c ?: (*e %= *d));
    for (; *d <= 83;)
      ;
  }
}

markus@x4 tmp % gcc -c -O3 -march=amdfam10 bug295.i
bug295.i: In function ‘fn1’:
bug295.i:12:1: internal compiler error: in maybe_legitimize_operand, at
optabs.c:6893

Reply via email to