[Bug rtl-optimization/38921] [4.3 Regression] NULL access in delay-slot

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 20 03:57:00 GMT 2009



------- Comment #1 from hp at gcc dot gnu dot org  2009-01-20 03:57 -------
Created an attachment (id=17150)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17150&action=view)
testcase

Compile at -O2.  Run in simulator (note the linker option) or compile with -O2
-S and observe:

        move.d _alarmlist,$r9
        move.d [$r9],$r9
.L19:
        test.d $r9
        bne .L19
        move.d [$r9],$r9

Or compile Linux and observe oopses all over...


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hp at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


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



More information about the Gcc-bugs mailing list