missing eh regions?
Richard Henderson
rth@cygnus.com
Mon Oct 6 00:03:00 GMT 1997
I was looking to teach the alpha trap shadow processing about
exception regions, so that FP exceptions could be properly
caught, etc.
But it appears that, in the appended program, the exception
region notes were eliminated. What gives?
r~
double foo(double x, double y)
{
double result = 0.0;
if (x < y) {
try {
result = x / y;
}
catch (...) {
}
}
else {
try {
result = x * y;
}
catch(...) {
}
}
return result;
}
More information about the Gcc
mailing list