This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
missing eh regions?
- To: egcs at cygnus dot com
- Subject: missing eh regions?
- From: Richard Henderson <rth at cygnus dot com>
- Date: Mon, 6 Oct 1997 00:00:49 -0700
- Reply-To: Richard Henderson <rth at cygnus dot com>
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;
}