https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90720

--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> ---
> I get the same failure on Linux/x86_64 when compiling/linking with
> -fno-use-linker-plugin.
> 
> This is the same behaviour as in PR lto/89884.
> 
> It seems quite bad that gcc silently creates wrong code in such a szenario.

It is just fancy builtin_constant_p being 0 rather than 1 (i.e. missed
optimization).  I will take a look why the testcase needs plugin.

Honza

Reply via email to