[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-27 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Paul Clarke changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #22 from Segher Boessenkool --- Backported to 11 and 10. Not doing GCC 9; the problem is older than that, and the backport wouldn't be completely trivial. Paul, please close if everything is okay now?

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #21 from CVS Commits --- The releases/gcc-10 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:14b7e8ace8236bd341a182dc3ef044fe98de5525 commit r10-10144-g14b7e8ace8236bd341a182dc3ef044fe98de5525 Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #20 from CVS Commits --- The releases/gcc-10 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:5a989ccd3cbc31cb0e5fecd9423fc1577f3694b0 commit r10-10143-g5a989ccd3cbc31cb0e5fecd9423fc1577f3694b0 Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #19 from CVS Commits --- The releases/gcc-11 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:da0a5628d47ee59320dac9787f3232b0911fbc14 commit r11-9022-gda0a5628d47ee59320dac9787f3232b0911fbc14 Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #18 from CVS Commits --- The releases/gcc-11 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:5210f05c6eba12561914cb0fdf7aec149b28f179 commit r11-9021-g5210f05c6eba12561914cb0fdf7aec149b28f179 Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #17 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:86e6268cff328e27ee6f90e2afc35b6f437a25cd commit r12-3418-g86e6268cff328e27ee6f90e2afc35b6f437a25cd Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-03 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #16 from Segher Boessenkool --- (Hopefully) fixed on trunk, but it needs backports.

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #15 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:2484f7a4b0f52e6ed04754be336f1fa6fde47f6b commit r12-3353-g2484f7a4b0f52e6ed04754be336f1fa6fde47f6b Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #13 from Segher Boessenkool --- /* If we need to save CR, put it into r12 or r11. Choose r12 except when r12 will be needed by out-of-line gpr save. */ cr_save_regno = ((DEFAULT_ABI == ABI_AIX || DEFAULT_ABI == ABI_ELFv2)

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Segher Boessenkool changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-31 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #11 from Paul Clarke --- This does produce the issue for me: -- $ git checkout remotes/vendors/ibm/gcc-11-branch gcc-AT $ mkdir gcc-AT-build $ cd gcc-AT-build $ ../gcc-AT/configure --enable-languages=c,c++ --disable-libada

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #10 from Segher Boessenkool --- (In reply to Segher Boessenkool from comment #9) > So that is something older from the GCC 11 branch, aha. And I cannot reproduce it with anything that has been on the GCC 11 branch, either.

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #9 from Segher Boessenkool --- So that is something older from the GCC 11 branch, aha.

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #8 from Paul Clarke --- $ /opt/at15.0/bin/gcc --version gcc (GCC) 11.2.1 20210802 (Advance-Toolchain 15.0-0) [ebcfb7a665c2]

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #5 from Paul Clarke --- Fails with "-mcpu=power10" and "-O2" or "-O3".

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-28 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #4 from Paul Clarke --- Created attachment 51372 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51372=edit preprocessed source (yet a bit smaller) I was able to remove one of the cases of the switch statement in the function

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-28 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #3 from Paul Clarke --- Created attachment 51371 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51371=edit preprocessed source (a bit smaller) I was able to cut out a bit more than half of the original code. It gets more

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-27 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #2 from Paul Clarke --- Created attachment 51369 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51369=edit creduced version (tiny, but ugly)

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-27 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Paul Clarke changed: What|Removed |Added Attachment #51367|0 |1 is obsolete|