------- Comment #13 from pinskia at gcc dot gnu dot org 2007-03-20 20:58 ------- > But I'll stop this discussion here, and will stay with g95 when I want to > bound-check my program.
Why short circuiting is legal and so is not short circuiting. Yes Gfortran's behavior is semi inconstaint but that does not make gfortran's behavior incorrect. In fact I want to say Gfortran's behavior with -fbounds-check with not short circuiting is actually a good thing because you catch more invalid/undefined fortran code that way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31269