------- Comment #6 from joel at gcc dot gnu dot org 2009-03-18 14:27 ------- OK. I decided to look at this in more detail in the simulator. The failing instruction is:
2001358: d0 07 bf fc ld [ %fp + -4 ], %o0 and when I run with a breakpoint there, a dump of the registers shows that fp is 0!! When I try to step, it doesn't happen. If I do a "watch $fp", it never goes to 0 and runs correctly. The task has a 256K stack so it isn't blowing it. No interrupts are occurring. No context switches are occurring. Any ideas on how to narrow this down would be appreciated. Normal debugging seems to be failing me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35180