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

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Wed Mar 14 16:11:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2018-03-14
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I think it is pr69368 again!-(also related to pr44882).

The code is invalid: it will fail at run time if you compile it with
-fcheck=bounds.


More information about the Gcc-bugs mailing list