[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #12 from Richard Biener --- Author: rguenth Date: Thu Aug 11 09:02:04 2016 New Revision: 239357 URL: https://gcc.gnu.org/viewcvs?rev=239357=gcc=rev Log: 2016-08-11 Richard Biener PR

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #11 from amker at gcc dot gnu.org --- Author: amker Date: Tue Aug 9 15:08:02 2016 New Revision: 239291 URL: https://gcc.gnu.org/viewcvs?rev=239291=gcc=rev Log: PR tree-optimization/72772 * tree-ssa-loop-niter.c

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #10 from amker at gcc dot gnu.org --- Author: amker Date: Tue Aug 9 15:01:49 2016 New Revision: 239290 URL: https://gcc.gnu.org/viewcvs?rev=239290=gcc=rev Log: PR tree-optimization/72772 * tree-ssa-loop-niter.h

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #9 from Richard Biener --- FAIL: gcc.dg/tree-ssa/20030714-2.c scan-tree-dump-times dom2 "if " 3 is because jump-threading doesn't want to thread to a loop header and w/o the patch we have a pre-header with the degenerate PHI which

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #8 from Richard Biener --- A more light-weight fix for the specific issue would be Index: gcc/tree-cfgcleanup.c === --- gcc/tree-cfgcleanup.c (revision 239117)

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #6 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #5) > Ok, so we record a correct upper bound for a loop but then later thread1 > makes > a mess of the loop structures, introducing multiple back-edges by

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #5 from Richard Biener --- Ok, so we record a correct upper bound for a loop but then later thread1 makes a mess of the loop structures, introducing multiple back-edges by mashing an outer loop of said loop into it, making the number

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 Richard Biener changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #3 from Richard Biener --- The patch has quite some fallout, including ICEs and wrong-code :/ FAIL: c-c++-common/ubsan/pr71403-1.c -O3 -g execution test FAIL: gcc.dg/graphite/pr35356-1.c scan-tree-dump graphite "if (P_9 >=

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 --- Comment #2 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > Note that for some odd reason creating the preheader causes the PHI to appar. > Fixing that would be appreciated - it's the make_forwarder_block CFG

[Bug tree-optimization/72772] Missed SCEV after pass reordering@236440

2016-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72772 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|