[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 9 13:34:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Is something in libstdc++ miscompiled or something in the tests?
Like, can you try those tests against libstdc++ built with that change
reverted, but test with gcc with that revision in?
If it is in libstdc++, can you bisect to a particular *.o file (built by
r271012 vs. r271013)?
Is it the tree-inline.[ch] change, or the tree-tailcall.c change?  For both one
needs the tree-ssa-live.[ch] changes, but otherwise the changes are independent
(essentially, it could be committed as the tree-ssa-live.[ch] patch, and then
either nothing, or tree-inline.[ch], or tree-tailcall.c, or both).


More information about the Gcc-bugs mailing list