| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O" } */ |
| 3 |
/* { dg-require-effective-target int32plus } */ |
| 4 |
|
| 5 |
extern long int labs (long int j); |
| 6 |
int |
| 7 |
main () |
| 8 |
{ |
| 9 |
long *a = (long *)"empty"; |
| 10 |
int i = 1441516387; |
| 11 |
a[i] = labs (a[i]); |
| 12 |
return 0; |
| 13 |
} |