URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [life1.C] - Rev 316
Go to most recent revision | Compare with Previous | Blame | View Log
// This testcase did not set up the pic register on IA-32 due
// to bug in calculate_global_regs_live EH edge handling.
// { dg-do compile { target i?86-*-linux* x86_64-*-linux* } }
// { dg-require-effective-target ilp32 }
// { dg-require-effective-target fpic }
// { dg-options "-O2 -fPIC" }
struct A { };
void foo (A (*fn)())
{
try {
A a = fn ();
} catch (...) {
}
}
// { dg-final { scan-assembler "GLOBAL_OFFSET_TABLE" } }
Go to most recent revision | Compare with Previous | Blame | View Log