public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31201]  New: wrong code generated with gfortran
@ 2007-03-16 11:27 jv244 at cam dot ac dot uk
  2007-03-16 20:29 ` [Bug fortran/31201] Too large unit number generates wrong code fxcoudert at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: jv244 at cam dot ac dot uk @ 2007-03-16 11:27 UTC (permalink / raw)
  To: gcc-bugs

With a recent gfortran, the following compiles, but generates the wrong
results:

      integer*8  :: k=2_8**36+10
      integer*4  :: j=10
      logical  ex,op
      INQUIRE(unit=k, exist=ex,opened=op)
      IF (ex) THEN
         OPEN(unit=k)
         INQUIRE(unit=j, opened=op)
         IF (op) CALL ABORT()
      ENDIF
      end


-- 
           Summary: wrong code generated with gfortran
           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=31201


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

end of thread, other threads:[~2007-05-06 23:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 11:27 [Bug fortran/31201] New: wrong code generated with gfortran jv244 at cam dot ac dot uk
2007-03-16 20:29 ` [Bug fortran/31201] Too large unit number generates wrong code fxcoudert at gcc dot gnu dot org
2007-03-16 23:01 ` jvdelisle at gcc dot gnu dot org
2007-03-17  6:28 ` jvdelisle at gcc dot gnu dot org
2007-03-17 13:01 ` fxcoudert at gcc dot gnu dot org
2007-03-18  2:23 ` jvdelisle at gcc dot gnu dot org
2007-04-03 13:50 ` jvdelisle at gcc dot gnu dot org
2007-04-04  4:55 ` patchapp at dberlin dot org
2007-04-14 18:15 ` patchapp at dberlin dot org
2007-05-06 22:28 ` jvdelisle at gcc dot gnu dot org
2007-05-06 22:32 ` jvdelisle at gcc dot gnu dot org
2007-05-06 22:37 ` jvdelisle at gcc dot gnu dot org
2007-05-06 23:04 ` jvdelisle 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).