[Bug target/93605] GCC suboptimal tail call optimization in trivial function forwarding with __attribute__((noinline))
xerofoify at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 5 22:49:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93605
Nicholas Krause <xerofoify at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xerofoify at gmail dot com
--- Comment #3 from Nicholas Krause <xerofoify at gmail dot com> ---
I just tried with bool& as auto should just be a bool without a reference.
Seems to be a issue with gcc assuming that it must move into the bool if not a
ref in the function's signature. And it works for other targets as Andrew
pointed out.
More information about the Gcc-bugs
mailing list