[Bug target/93605] GCC suboptimal tail call optimization in trivial function forwarding with __attribute__((noinline))
mike.k at digitalcarbide dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 5 22:39:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93605
--- Comment #2 from mike.k at digitalcarbide dot com ---
Interestingly, changing `impl::func`'s signature from `bool v` to `auto&& v`
fixes the issue. Changing it to `auto v` does not.
More information about the Gcc-bugs
mailing list