public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34656]  New: modifies do loop variable
@ 2008-01-03 20:17 jv244 at cam dot ac dot uk
  2008-01-03 22:04 ` [Bug fortran/34656] " steven at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-01-03 20:17 UTC (permalink / raw)
  To: gcc-bugs

The following is non-standard and the compiler should probably generate a
warning/error with '-pedantic -std=f95', but does not do so with
gcc version 4.3.0 20080103 (experimental) [trunk revision 131300] (GCC)

PROGRAM test
IMPLICIT NONE
INTEGER :: i
DO i=1,100
   CALL do_something()
ENDDO
CONTAINS
 SUBROUTINE do_something()
 IMPLICIT NONE
 DO i=1,10
 ENDDO
 END SUBROUTINE do_something
END PROGRAM test


-- 
           Summary: modifies do loop variable
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34656


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-28 21:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-03 20:17 [Bug fortran/34656] New: modifies do loop variable jv244 at cam dot ac dot uk
2008-01-03 22:04 ` [Bug fortran/34656] " steven at gcc dot gnu dot org
2008-01-04  7:17 ` jv244 at cam dot ac dot uk
2008-01-04  7:23 ` burnus at gcc dot gnu dot org
2008-01-04  9:36 ` tkoenig at gcc dot gnu dot org
2009-03-28 21:39 ` burnus at gcc dot gnu dot org
2009-03-28 21:40 ` burnus at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).