1 /* { dg-do link } */ 2 /* { dg-require-effective-target lto } */ 3 /* { dg-options "-O2 -flto" } */ 4 #ifdef __x86_64__ 5 register volatile int a __asm__("%rsp"); 6 #else 7 register volatile int a __asm__("%esp"); 8 #endif 9 __attribute__ ((used)) t()10int t () { a = 0; } main()11int main () { a = 0; } 12