------- Comment #7 from janis at gcc dot gnu dot org 2006-08-08 21:08 -------
I don't get any failures with the 4.0-branch for powerpc-linux with sjlj
exceptions. Here's the executable test case I'm using for a regression hunt:
------------------------
extern "C" void abort (void);
void *pc, *pd;
struct Command {
Command() { pc = (void *)this; }
~Command() { pd = (void *)this; }
};
void tryfunc() {
Command cmd;
throw 1;
}
int main()
{
try { tryfunc(); }
catch (int) { }
if (pc != pd) abort ();
}
------------------------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28493