dse2 remove wrong insn
Georg-Johann Lay
avr@gjlay.de
Fri Dec 9 15:21:00 GMT 2011
BELBACHIR Selim wrote:
> Hi,
>
> I'm still working on a new gcc-4.5.2 backend for a private processor.
> I encountered a strange behavior and I'm unable to find what causes this behavior.
> As an overview, it seems that dse2 pass removes insn where it should not (optim -O2, -O3)
>
> Here is the code giving me headachs which returns 0 when it should return 0x3F800000 (hex representation of 1.0f) :
>
> [...]
>
> I tried to search if there were pending bugs concerning dse2 on gcc 4.5.2 but I did not find anything.
> I don't know if I forgot a macro or what I have done wrong. I don't know if the problem comes from dse2 pass or is a consequence of an error done before.
> Can someone help me to find out why my lovely insn are removed ?
>
>
> Regards,
>
> Selim
Is it PR49330?
Johann
More information about the Gcc
mailing list