[PATCH] Fix DCE REG_LIBCALL note moving from noop move insns (PR rtl-optimization/33644)
Eric Botcazou
ebotcazou@libertysurf.fr
Thu Oct 18 13:03:00 GMT 2007
> If the libcall is not pure/const, it should not be removed. If the
> libcall is pure/const with -ftrapv, that's your bug.
Yes, -ftrapv is known to be broken because of this problem.
> It seems backwards that libcall notes now suddenly also exist to _avoid_
> removing library calls...
Yes, that's also the misinterpretation of dce.c.
--
Eric Botcazou
More information about the Gcc-patches
mailing list