| 1 |
/* { dg-lto-do run } */ |
| 2 |
/* { dg-lto-options { {-O3 -fcommon} {-fcommon} } } */ |
| 3 |
|
| 4 |
/* By C standard Each enumerated type shall be compatible with char, a signed |
| 5 |
integer, type, or an unsigned integer type. The choice of type is |
| 6 |
implementation-defined. Check that enum and unsigned int match. */ |
| 7 |
unsigned int a; |
| 8 |
unsigned int *b; |
| 9 |
void t(); |
| 10 |
|
| 11 |
void reset () |
| 12 |
{ |
| 13 |
asm("":"=r"(a):"0"(0)); |
| 14 |
} |
| 15 |
int |
| 16 |
main() |
| 17 |
{ |
| 18 |
asm("":"=r"(a):"0"(1)); |
| 19 |
asm("":"=r"(b):"0"(&a)); |
| 20 |
t(); |
| 21 |
return 0; |
| 22 |
} |