public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31203]  New: wrong code generated with gfortran
@ 2007-03-16 11:27 jv244 at cam dot ac dot uk
  2007-03-16 20:48 ` [Bug fortran/31203] " fxcoudert at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ 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:

call s(-3)
call s(2**18)
contains
subroutine s(i)
character(LEN=I) a
IF(LEN(a).NE.MAX(0,I)) CALL ABORT()
end subroutine
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=31203


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

end of thread, other threads:[~2007-04-28  4:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 11:27 [Bug fortran/31203] New: wrong code generated with gfortran jv244 at cam dot ac dot uk
2007-03-16 20:48 ` [Bug fortran/31203] " fxcoudert at gcc dot gnu dot org
2007-03-16 20:56 ` fxcoudert at gcc dot gnu dot org
2007-03-16 20:57 ` [Bug fortran/31203] Character length should never be negative fxcoudert at gcc dot gnu dot org
2007-03-17 20:58 ` fxcoudert at gcc dot gnu dot org
2007-03-18 23:03 ` fxcoudert at gcc dot gnu dot org
2007-03-19  8:13 ` fxcoudert at gcc dot gnu dot org
2007-03-19  8:16 ` [Bug fortran/31203] [4.1/4.2 only] " fxcoudert at gcc dot gnu dot org
2007-03-22  0:14 ` fxcoudert at gcc dot gnu dot org
2007-04-28  4:19 ` kargl 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).