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 #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #3)
> Yes, using aliases would be a good workaround.

hmmm, for libgcc functions written in asm this is easy enough, like

.global func1_alias
.global func1

func1_alias:
func1:
   ;; asm-code

But how can I define an extra symbol for a libgcc function if that function is
written in C? E.g. __countlshi2 from libgcc/config/avr/lib2funcs.c.

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