[Bug tree-optimization/92638] gcc unable to remove empty loop after loop body is removed after malloc/free pair was removed

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92638 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/92638] gcc unable to remove empty loop after loop body is removed after malloc/free pair was removed

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92638 --- Comment #3 from Richard Biener --- It's not really "iteration" that is missing but the free () stmt is marked as necessary and only later "elided" but dataflow makes the loop necessary because of that. We may eventually get away with not con

[Bug tree-optimization/92638] gcc unable to remove empty loop after loop body is removed after malloc/free pair was removed

2019-11-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92638 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|U

[Bug tree-optimization/92638] gcc unable to remove empty loop after loop body is removed

2019-11-23 Thread hiraditya at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92638 --- Comment #1 from AK --- FYI: clang -O3 optimizes the empty loop.