[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 --- Comment #4 from Jakub Jelinek --- Lack of warning doesn't imply the code is valid.

[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread jiri.pitt...@jh-inst.cas.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 --- Comment #3 from jiri.pitt...@jh-inst.cas.cz --- Created attachment 43658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43658&action=edit similar buggy behavior without any compiler warning

[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED Last reconfirmed|2018-03-14 0

[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|