[Bug tree-optimization/87540] Missed inner loop hoist if the loop does not depend on outer loop

2018-10-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87540 --- Comment #3 from Richard Biener --- Oh, and in your case there is a dependence. So "correct" and actually compilable one: #define ARRAY_SIZE 1024 #define N_TIMES 1 int foo(double *array) { int i; double sum; for (i = 0; i <

[Bug tree-optimization/87540] Missed inner loop hoist if the loop does not depend on outer loop

2018-10-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87540 Richard Biener changed: What|Removed |Added CC||amker at gcc dot gnu.org,

[Bug tree-optimization/87540] Missed inner loop hoist if the loop does not depend on outer loop

2018-10-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87540 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization