URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr23714.C] - Rev 764
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// { dg-options "-O2 -fnon-call-exceptions" }
void run (void) {
float stack[1];
float *sp = stack;
try
{
float value2 = ((float) *(--sp));
float value1 = ((float) *(--sp));
*(sp++) = (value1 - value2);
}
catch (int *ex)
{
}
}
Go to most recent revision | Compare with Previous | Blame | View Log