This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

missing eh regions?


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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]