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

2019-05-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Mon May 20 21:33:46 2019 New Revision: 271440 URL: https://gcc.gnu.org/viewcvs?rev=271440&root=gcc&view=rev Log: PR c++/59813 PR target/90418 * function.h (struct

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

2019-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #16 from Jakub Jelinek --- Author: jakub Date: Sat May 11 09:33:22 2019 New Revision: 271093 URL: https://gcc.gnu.org/viewcvs?rev=271093&root=gcc&view=rev Log: PR c++/59813 * config/aarch64/aarch64.c (aarch64_expand_e

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

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #15 from Jakub Jelinek --- Created attachment 46332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46332&action=edit gcc10-pr59813-aarch64.patch Untested fix. The problem is that after adding sp addition back to the caller's s

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

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #14 from Jakub Jelinek --- The only difference the patch makes that matters for those tests is in unwind-dw2.c, where in _Unwind_Resume_or_Rethrow function there is: - _20 = _Unwind_RaiseException (exc_4(D)); + _20 = _Unwind_RaiseEx

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

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #13 from Jakub Jelinek --- Ah, seems it is libgcc_s.so.1 rather than libstdc++. Bisecting.

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

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #12 from Jakub Jelinek --- Are you sure about the bisection btw? I've just reverted those changes, rebuilt cc1plus and rebuilt libstdc++ with that, but get still the same failures.

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

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #11 from Jakub Jelinek --- 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+

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

2019-05-09 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #10 from Christophe Lyon --- And some regressions in g++ too: g++.dg/compat/eh/unexpected1 cp_compat_x_tst.o-cp_compat_y_tst.o execute g++.dg/cpp0x/lambda/lambda-eh2.C -std=gnu++14 execution test g++.dg/cpp0x/nullptr35.C

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

2019-05-09 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

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

2019-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Wed May 8 17:06:46 2019 New Revision: 271013 URL: https://gcc.gnu.org/viewcvs?rev=271013&root=gcc&view=rev Log: PR c++/59813 PR tree-optimization/89060 * tree-ssa

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

2019-01-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 Jakub Jelinek changed: What|Removed |Added CC||vanyacpp at gmail dot com --- Comment #7

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

2019-01-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6