This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]