This is the mail archive of the gcc-bugs@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]

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


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)?

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