[Bug middle-end/59812] Missing aggressive loop optimization warning

2015-09-16 Thread developm...@faf-ltd.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59812

Peter VARGA  changed:

   What|Removed |Added

 CC||developm...@faf-ltd.com

--- Comment #4 from Peter VARGA  ---
Good, but why does not produce this test case any warning:

#include 
#include 
using namespace std;

int main() {
complex delta;
complex mc[4] = {0};

for(int di = 0; di < 4; di++, delta = mc[di]) {
cout << "di:" << di << " delta:" << delta << endl;
}

return 0;
}

it is an endless loop. According this threads
http://stackoverflow.com/questions/32506643/c-compilation-bug ,
http://blog.regehr.org/archives/918 I understand it was fixed.


[Bug middle-end/59812] Missing aggressive loop optimization warning

2014-07-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59812

--- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com ---
Reconfirmed @r212875


[Bug middle-end/59812] Missing aggressive loop optimization warning

2014-01-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59812

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-01-15
  Component|c   |middle-end
Version|unknown |4.9.0
 Ever confirmed|0   |1

--- Comment #2 from Richard Biener rguenth at gcc dot gnu.org ---
Confirmed.