re PR rtl-optimization/23585 (mem_fun* code fine with -O1, bus error with -O2)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 3 Nov 2005 11:31:46 +0000 (12:31 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 3 Nov 2005 11:31:46 +0000 (11:31 +0000)
commitbb11103a968f860541e589de3d62bd4e8ef7e084
tree87ae1ad1b8a8da523947e3595cfa9bb3f01d51df
parentac746a73f02d1a83d0fb5df74326831566693c8d
re PR rtl-optimization/23585 (mem_fun* code fine with -O1, bus error with -O2)

PR rtl-optimization/23585
* rtlanal.c (rtx_addr_can_trap_p_1) <PLUS>: Return 0 for an address
that can't trap plus a constant integer, if the mode has zero size.

From-SVN: r106427
gcc/ChangeLog
gcc/rtlanal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/delay-slot-1.c [new file with mode: 0644]