This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31269] short-circuit in -fbounds-check



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]