| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-additional-options "-march=znver2" { target { x86_64-*-* i?86-*-* } } } */ |
| 3 |
|
| 4 |
/* Check it to be compiled successfully without any ICE. */ |
| 5 |
|
| 6 |
int a; |
| 7 |
unsigned *b; |
| 8 |
|
| 9 |
void foo() |
| 10 |
{ |
| 11 |
for (unsigned i; i <= a; ++i, ++b) |
| 12 |
; |
| 13 |
} |