* sr.po: Update.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / life1.C
blob9b8a61aa90de08b32362e771f4f3f492d39bdfd3
1 // This testcase did not set up the pic register on IA-32 due
2 // to bug in calculate_global_regs_live EH edge handling.
3 // { dg-do compile { target { { i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } && ia32 } } }
4 // { dg-require-effective-target fpic }
5 // { dg-options "-O2 -fPIC" }
7 struct A { };
9 void foo (A (*fn)())
11   try {
12     A a = fn ();
13   } catch (...) {
14   }
17 // { dg-final { scan-assembler "GLOBAL_OFFSET_TABLE" } }