URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.eh/] [crash3.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Marc Espie <Marc.Espie@liafa.jussieu.fr>
// Used to use -fsjlj-exceptions, but that isn't an option anymore.
extern double f(double a);
void
a()
{
double e;
double value;
if (e == 0)
throw 1;
value = f(e);
}