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

--- Comment #27 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-11-12 
10:48:47 UTC ---
The reduced testcase compiled with -O generates a SIGBUS at run time:

Program terminated with signal 10, Bus error.
#0  testE () at pr45722.c:50
50        x = sE;

   0x00010860 <+104>:   stb  %g3, [ %i5 + 0xe ]
   0x00010864 <+108>:   stb  %i4, [ %i5 + 0xf ]
=> 0x00010868 <+112>:   ld  [ %g2 + 0x3f6 ], %i2

(gdb) info reg g2
g2             0x20800  133120

Reply via email to