This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix DCE REG_LIBCALL note moving from noop move insns (PR rtl-optimization/33644)
> 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.