[RFC PATCH] math/testtgmath2: Fix breakage on fabs Vldouble1 due to optimization

Joseph Myers joseph@codesourcery.com
Thu Jan 7 22:53:04 GMT 2021


On Fri, 8 Jan 2021, Stafford Horne via Libc-alpha wrote:

> I have been testing with GCC trunk and GLIBC master while working on
> OpenRISC ports.  This test has been failing which fabs not being called,
> I am guessing this is due to new optimizations in GCC that are causing
> the Vldouble1 call to also be optimized out now, but I may be wrong.

This test is built with -fno-builtin.  If a function call is optimized 
out, that sounds like a GCC bug which should be fixed there.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list