This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2007 10:05:22 -0000
- Subject: [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Example:
read '(i0)', i
1
Warning: Positive width required in format string at (1)
[2007-06-24 23:19:31] <jerryd> I would use gfc_notify_std instead of gfc_error
at line 849 of io.c
Turning gfc_warning into gfc_error did not work as it should. We need to do
some investagation why it does not and then trun it into gfc_notify_std.
--
Summary: Give an (compile time) error not a warning for wrong
edit format statements
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545