------- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-20 05:54 ------- Closing again, this time as won't fix. Fortran is not C/C++/Java. This case if you get -fbounds-check failing, then the bug is in the code and not in Gfortran. Yes the standard might allow for short circuiting but it does not disallow for not short circuiting. Also the code is depning on the current behavior of Gfortran which might change in the future. -fbounds-check just shows this case is undefined.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31269