------- Comment #69 from pinskia at gcc dot gnu dot org  2008-11-21 22:19 
-------
I think this patch will not handle:
int main(void)
{
  try {
  }catch (int &a)
  {
    a = 1;
  }
}

-- CUT ---
In fact exception_defines.h's defines does not handle them correctly anyways.
I am working on a patch which adds -fignore-exceptions which has to be used
with -fno-exceptions which handles this correctly.  Plus we don't get erroneous
errors with -fno-exceptions now too.  Should -fignore-exceptions be default for
C++ when -fno-exceptions is used?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25191

Reply via email to