[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2024-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > here is a testcase where DOM does not mess with the loop but we should still > be able to sink the function out and do when adding -fno-tree-pre: > > int f(int

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2024-06-06 Thread drraph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #7 from Raphael C --- As of gcc 8 this returns: f(int): mov eax, 1 ret I think this can be closed as resolved now.

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2021-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|NEW Severity|normal

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2021-06-11 Thread drraph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #5 from Raphael C --- I can confirm you now get f: mov eax, 1 ret with gcc 8 onwards.

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2019-07-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #3 from Richard Biener --- Ok, so sinking now handles calls but the testcase still isn't fixed because PRE interferes (testsuite disables PRE). Still mine.

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Apr 25 09:26:37 2017 New Revision: 247159 URL: https://gcc.gnu.org/viewcvs?rev=247159&root=gcc&view=rev Log: 2017-04-25 Richard Biener PR tree-optimization/79201