[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-17 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 Kito Cheng changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:c52868904b784f5a90db6cf347edba81d14cf921 commit r9-9051-gc52868904b784f5a90db6cf347edba81d14cf921 Author: Monk Chiang Date:

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:4ba2f918583089172ac899c8eecaddef0d47cd85 commit r10-9033-g4ba2f918583089172ac899c8eecaddef0d47cd85 Author: Monk Chiang Date:

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 --- Comment #4 from CVS Commits --- The master branch has been updated by Jim Wilson : https://gcc.gnu.org/g:207de83922bda8707aa33d6a2185e691116377e7 commit r11-5026-g207de83922bda8707aa33d6a2185e691116377e7 Author: Monk Chiang Date: Fri

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-02 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 Kito Cheng changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 --- Comment #2 from Andreas Schwab --- I think the bug is really that riscv_legitimize_call_address uses RISCV_PROLOGUE_TEMP, which can conflict with its uses in the epilogue, as seen.

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 --- Comment #1 from Andreas Schwab --- Looks like the miscompilation happens in the pro_and_epilog pass. Before: (insn 2520 2519 2521 320 (set (reg:DI 6 t1) (symbol_ref/i:DI