[Bug middle-end/88010] noinline function alias unexpectedly inlined
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 15 17:56:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88010
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #3)
> Is there some critical use of this that we would want to have for GCC 9?
I don't think making it work as I suggested is critical for GCC 9 in comment
#0. I noticed it while testing the new -Wattribute-alias/-Wmissing-attributes
options with Glibc, but (AFAICT) Glibc doesn't actually depend on the inlining
attributes for aliases working this way.
It would make sense to me to issue a warning for this use case until it is
implemented (if it ever is).
More information about the Gcc-bugs
mailing list