[Bug tree-optimization/85284] [7/8 Regression] Loop miscompilation starting with r238367

2018-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85284 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/85284] [7/8 Regression] Loop miscompilation starting with r238367

2018-04-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85284 --- Comment #4 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #3) > What triggers this somehow (still didn't get to the "wrong" parts) is that we > compute zero iterations for the conditional iteration of if _2 > 2. Th

[Bug tree-optimization/85284] [7/8 Regression] Loop miscompilation starting with r238367

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

[Bug tree-optimization/85284] [7/8 Regression] Loop miscompilation starting with r238367

2018-04-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85284 --- Comment #2 from Jakub Jelinek --- Seems this goes wrong during ivopts.

[Bug tree-optimization/85284] [7/8 Regression] Loop miscompilation starting with r238367

2018-04-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85284 --- Comment #1 from Jakub Jelinek --- Slightly more reduced: static int p[48], v; int main () { p[32] = 1; for (int i = 48; i--;) { if (!p[i]) continue; if ((i & 7) > 2) break; v = i & 1; } if (v

[Bug tree-optimization/85284] [7/8 Regression] Loop miscompilation starting with r238367

2018-04-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85284 Jakub Jelinek changed: What|Removed |Added Keywords||wrong-code Priority|P3