------- Comment #1 from burnus at gcc dot gnu dot org 2007-12-10 18:45 ------- > The following code is invalid (from comp.lang.fortran): http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/91a37e74fa305e31/
Agreed. > This is basically equivalent to: Here, no compiler detects this for the two programs, not even NAG f95 with all run-time checks turned on; thus it might end up as won't-fix PR. But maybe someone has a smart idea how this can be implemented. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34424