[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #11 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:264f061997c0a5349cdce6d73f0dc167ac7fc8f4 commit r12-5216-g264f061997c0a5349cdce6d73f0dc167ac7fc8f4 Author: Aldy Hernandez Date:

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #10 from Sergei Trofimovich --- (In reply to Aldy Hernandez from comment #9) > Created attachment 51780 [details] > patch in testing The patch fixed real ed-1.17 test suite as well. Thank you!

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #9 from Aldy Hernandez --- Created attachment 51780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51780&action=edit patch in testing

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org --- Co

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #7 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #6) > Not looking at this yet, but disabling jump threading from all passes (dom > included) makes the problem go away: > > $ ./xgcc -B./ a.c -w -O2 -fno-thread-jum

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #6 from Aldy Hernandez --- Not looking at this yet, but disabling jump threading from all passes (dom included) makes the problem go away: $ ./xgcc -B./ a.c -w -O2 -fno-thread-jumps && ./a.out element 1 element 2 element 3 ...so *m

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

2021-11-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Martin Liška changed: What|Removed |Added Summary|[12 regression] gcc |[12 regression] gcc |m

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #4 from Richard Biener --- (In reply to Sergei Trofimovich from comment #3) > Created attachment 51776 [details] > main_loop_simpler.c > > Attaching seemingly simpler example. I applied most inlines and simplified > loops as much as

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #3 from Sergei Trofimovich --- Created attachment 51776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51776&action=edit main_loop_simpler.c Attaching seemingly simpler example. I applied most inlines and simplified loops as m

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #2 from Andrew Pinski --- This seems jump threading related but I can't tell how. -fno-tree-vrp is enough to workaround the bug but I don't have anything more than that.

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---