[Bug lto/56578] Testcase behaves differently when compiled with LTO (builtin for malloc is not getting the right one)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56578
--- Comment #6 from Richard Biener ---
We now do output 'malloc', with and without -fno-builtin-malloc:
> gcc-nm-15 libxxx.a
a.o:
T malloc
without -fno-builtin-malloc we FAIL, with -fno-builtin-malloc we segfault
in puts("OK")
So I think this is somehow fixed when properly using -fno-builtin-malloc
(which we could imply when seeing definitions of builtins ...). But sth
is still odd.
[Bug lto/56578] Testcase behaves differently when compiled with LTO (builtin for malloc is not getting the right one)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56578 Andrew Pinski changed: What|Removed |Added Summary|Testcase behaves|Testcase behaves |differently when compiled |differently when compiled |with LTO|with LTO (builtin for ||malloc is not getting the ||right one) --- Comment #5 from Andrew Pinski --- I remember seeing another bug that is very similar issue with respect to builtins.
