[Bug lto/78562] Wrong warning for built-in functions with -flto

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 28 14:40:00 GMT 2016


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

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Thanks for looking into it.

IIUC it's a backend issue.

config/avr/builtins.def sets library names for some built-ins, and some
libnames are the same because the libgcc asm code is exactly the same, even if
the used types on C level are different.

So the fix for this one would be to use different asm names (pointing to the
same code)?


More information about the Gcc-bugs mailing list