public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/27304]  New: gfortran: Warn/abort when format in write does not fit passed arguments
@ 2006-04-25 11:30 tobias dot burnus at physik dot fu-berlin dot de
  2006-04-25 17:24 ` [Bug fortran/27304] " tobias dot burnus at physik dot fu-berlin dot de
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: tobias dot burnus at physik dot fu-berlin dot de @ 2006-04-25 11:30 UTC (permalink / raw)
  To: gcc-bugs

Test case:
---------------------------------
program test
  implicit none
  integer :: n
  n = 1
  write(*,'(''n'')') n
end program test
---------------------------------

gfortran -Wall -o test test1.f90   [4.1.0 (SUSE Linux); 4.2.0 20060423]

Compiles without warning/error and ./test outputs "nn".

Expected:
  During compile: Bail out with an error message or at least show a warning.

The NAGWare Fortran 95 compiler Release 5.0(414)) for comparison:
------------
f95 -o test test1.f90
Error: test1.f90, line 5: No data-edit descriptor for effective item
[f95 error termination]


-- 
           Summary: gfortran: Warn/abort when format in write does not fit
                    passed arguments
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobias dot burnus at physik dot fu-berlin dot de


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


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

end of thread, other threads:[~2006-05-09 22:10 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-25 11:30 [Bug fortran/27304] New: gfortran: Warn/abort when format in write does not fit passed arguments tobias dot burnus at physik dot fu-berlin dot de
2006-04-25 17:24 ` [Bug fortran/27304] " tobias dot burnus at physik dot fu-berlin dot de
2006-04-25 18:33 ` pinskia at gcc dot gnu dot org
2006-04-26  4:10 ` jvdelisle at gcc dot gnu dot org
2006-04-26  6:22 ` tobias dot burnus at physik dot fu-berlin dot de
2006-04-26 22:53 ` jvdelisle at gcc dot gnu dot org
2006-04-27  5:50 ` patchapp at dberlin dot org
2006-04-27  6:02 ` jvdelisle at gcc dot gnu dot org
2006-04-27  8:09 ` burnus at net-b dot de
2006-04-28 23:55 ` jvdelisle at gcc dot gnu dot org
2006-04-29  0:02 ` jvdelisle at gcc dot gnu dot org
2006-04-30 20:59 ` jvdelisle at gcc dot gnu dot org
2006-04-30 21:02 ` jvdelisle at gcc dot gnu dot org
2006-04-30 21:03 ` jvdelisle at gcc dot gnu dot org
2006-05-02  8:37 ` tobias dot burnus at physik dot fu-berlin dot de
2006-05-04 19:10 ` tobias dot burnus at physik dot fu-berlin dot de
2006-05-05  0:13 ` jvdelisle at gcc dot gnu dot org
2006-05-05  7:04 ` fxcoudert at gcc dot gnu dot org
2006-05-09 20:16 ` tobias dot burnus at physik dot fu-berlin dot de
2006-05-09 22:10 ` fxcoudert 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).