[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #16 from Andrew Pinski --- (In reply to Richard Biener from comment #11) > Created attachment 54503 [details] > reduced testcase This reduced testcase looks almost the same as the reduced testcase in bug 108681 comment #4 (when

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #15 from Andrew Pinski --- (In reply to Richard Biener from comment #12) > The reduced testcase doesn't fail on the trunk Most likely because it was fixed when PR 108681 was fixed .

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #13 from Andrew Pinski --- (insn 42 41 43 3 (clobber (reg/v:V4x1DF 40 v8 [orig:96 tup ] [96])) -1 (nil))

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Richard Biener changed: What|Removed |Added Keywords|needs-reduction | Ever confirmed|0

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #11 from Richard Biener --- Created attachment 54503 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54503=edit reduced testcase Reduced testcase (on the GCC 12 branch). Reduced with -O1 and diff --git a/gcc/dce.cc

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2023-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #10 from Richard Biener --- Confirmed, it never finishes word-level iteration. static void fast_dce (bool word_level) { ... while (global_changed) { ... } IMHO that "fast" DCE should hard-limit the iteration count

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-09-05 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #9 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #3) > If I get some time next weekend I might reduce this further to understand it. > There are only 38 BBs in this function too and they are not large either.

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Richard Biener changed: What|Removed |Added Target Milestone|12.2|12.3 --- Comment #8 from Richard

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #7 from Jan Wassenberg --- Sure, added GCC11 .ii. It does indeed still freeze GCC 12.

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #6 from Jan Wassenberg --- Created attachment 53181 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53181=edit GCC11 zipped preprocessed source

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #5 from Martin Liška --- (In reply to Jan Wassenberg from comment #4) > Thanks for having a look! BTW forgot to mention: version 11.0 does not have > this issue. Can you please share pre-processed source from GCC 11? And can you

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Richard Biener changed: What|Removed |Added Version|12.0|12.1.0 Target Milestone|---