gcc/testsuite/gcc.target/ia64/pr60465-gprel64-c37.c
raw| 1 | /* { dg-do compile { target ia64-*-* } } */ |
| 2 | /* { dg-options "-O2 -fpic" } */ |
| 3 | /* { dg-final { scan-assembler-not "@ltoffx" } } */ |
| 4 | |
| 5 | /* A bit of https://bugzilla.redhat.com/show_bug.cgi?id=33354 |
| 6 | where many stores to static variables overflow .sdata */ |
| 7 | |
| 8 | static const char *s90; |
| 9 | void f() { s90 = "string 90"; } |
| 10 | const char * g() { return s90; } |