[Bug c/71567] Incorrect loop optimization

2016-06-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/71567] Incorrect loop optimization

2016-06-27 Thread tyoma.ariv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 Artem changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/71567] Incorrect loop optimization

2016-06-23 Thread tyoma.ariv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 --- Comment #8 from Artem --- (In reply to Manuel López-Ibáñez from comment #7) > See https://gcc.gnu.org/wiki/FAQ#misoptimization > > and https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options Thank you for the links.

[Bug c/71567] Incorrect loop optimization

2016-06-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 --- Comment #7 from Manuel López-Ibáñez --- (In reply to Artem from comment #6) > Is there any way to indicate such kind of errors during compilation. > I tried to add options -Wall -Waggressive-loop-optimizations for compilation > code from the

[Bug c/71567] Incorrect loop optimization

2016-06-22 Thread tyoma.ariv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 --- Comment #6 from Artem --- (In reply to Manuel López-Ibáñez from comment #5) > > Your code is still broken and it may get miscompiled with a different > version of GCC or a different compiler or due to any changes to the > surrounding code.

[Bug c/71567] Incorrect loop optimization

2016-06-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug c/71567] Incorrect loop optimization

2016-06-21 Thread tyoma.ariv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 --- Comment #4 from Artem --- Thank you very much. This help

[Bug c/71567] Incorrect loop optimization

2016-06-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 --- Comment #3 from Andrew Pinski --- Try -fno-aggressive-loop-optimizations .

[Bug c/71567] Incorrect loop optimization

2016-06-21 Thread tyoma.ariv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 --- Comment #2 from Artem --- Thank you for help. Could you please also advise which kind of optimization performed here. Could it be switched off by using some compiler options? (because there are a lot of such places in the source code) Also I

[Bug c/71567] Incorrect loop optimization

2016-06-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---