------- Comment #9 from janis at gcc dot gnu dot org 2006-08-09 00:13 ------- Aaron, I had not noticed that the stack pointer is modified in some of the code that I had thought looked correct. My example works correctly with -O0 for powerpc-linux with sjlj exceptions for 4.0 and 4.1 branches, but I see now that it gets the wrong code from a cross compiler for powerpc-wrs-vxworks for both the 4.0 and 4.1 branches. I'll investigate that further. In the meantime, my automated regression hunt for the start of failures with optimization is almost done.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28493