public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements
@ 2007-06-29 10:05 burnus at gcc dot gnu dot org
2007-06-29 16:00 ` [Bug fortran/32545] " burnus at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-06-29 10:05 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/32545] Give an (compile time) error not a warning for wrong edit format statements
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
@ 2007-06-29 16:00 ` burnus at gcc dot gnu dot org
2007-06-29 20:06 ` jvdelisle at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-06-29 16:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from burnus at gcc dot gnu dot org 2007-06-29 16:00 -------
Note: The test cases should then be updated as well.
(Though dg-error and dg-warning are treated alike -> PR30612, PR29882.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/32545] Give an (compile time) error not a warning for wrong edit format statements
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
2007-06-29 16:00 ` [Bug fortran/32545] " burnus at gcc dot gnu dot org
@ 2007-06-29 20:06 ` jvdelisle at gcc dot gnu dot org
2007-06-29 23:23 ` jvdelisle at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-06-29 20:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-06-29 20:05 -------
Since I partly discovered this, I will see what I can do.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-06-29 20:05:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/32545] Give an (compile time) error not a warning for wrong edit format statements
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
2007-06-29 16:00 ` [Bug fortran/32545] " burnus at gcc dot gnu dot org
2007-06-29 20:06 ` jvdelisle at gcc dot gnu dot org
@ 2007-06-29 23:23 ` jvdelisle at gcc dot gnu dot org
2007-07-04 0:40 ` patchapp at dberlin dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-06-29 23:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-06-29 23:23 -------
Currently inline_1.f90 in gfortran.fortran-torture/compile is passing because
the error in the print statement is only giving a warning.
Patch testing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/32545] Give an (compile time) error not a warning for wrong edit format statements
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-06-29 23:23 ` jvdelisle at gcc dot gnu dot org
@ 2007-07-04 0:40 ` patchapp at dberlin dot org
2007-07-04 1:09 ` jvdelisle at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: patchapp at dberlin dot org @ 2007-07-04 0:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from patchapp at dberlin dot org 2007-07-04 00:39 -------
Subject: Bug number PR32545
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00303.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/32545] Give an (compile time) error not a warning for wrong edit format statements
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-07-04 0:40 ` patchapp at dberlin dot org
@ 2007-07-04 1:09 ` jvdelisle at gcc dot gnu dot org
2007-07-04 1:14 ` jvdelisle at gcc dot gnu dot org
2007-07-04 1:16 ` jvdelisle at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-07-04 1:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-07-04 01:08 -------
Subject: Bug 32545
Author: jvdelisle
Date: Wed Jul 4 01:08:48 2007
New Revision: 126295
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126295
Log:
2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/32545
* io.c (check_format): Always call gfc_error for errors.
(check_format_string): Change type of this function to try and
return the result of check_format.
(check_io_constraints): Return MATCH_ERROR if check_format_string
returns FAILURE.
2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/32612
* decl.c (get_proc_name): Include attr->mod_proc in check for error.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/fortran/io.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/32545] Give an (compile time) error not a warning for wrong edit format statements
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-07-04 1:09 ` jvdelisle at gcc dot gnu dot org
@ 2007-07-04 1:14 ` jvdelisle at gcc dot gnu dot org
2007-07-04 1:16 ` jvdelisle at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-07-04 1:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-07-04 01:13 -------
Subject: Bug 32545
Author: jvdelisle
Date: Wed Jul 4 01:13:47 2007
New Revision: 126296
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126296
Log:
2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/32545
* gfortran.dg/fmt_error.f90: New test.
2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/32612
* gfortran.dg/interface_13.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/fmt_error.f90
trunk/gcc/testsuite/gfortran.dg/interface_13.f90
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/32545] Give an (compile time) error not a warning for wrong edit format statements
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-07-04 1:14 ` jvdelisle at gcc dot gnu dot org
@ 2007-07-04 1:16 ` jvdelisle at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-07-04 1:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-07-04 01:16 -------
Fixed on trunk, closing
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32545
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-07-04 1:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-29 10:05 [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements burnus at gcc dot gnu dot org
2007-06-29 16:00 ` [Bug fortran/32545] " burnus at gcc dot gnu dot org
2007-06-29 20:06 ` jvdelisle at gcc dot gnu dot org
2007-06-29 23:23 ` jvdelisle at gcc dot gnu dot org
2007-07-04 0:40 ` patchapp at dberlin dot org
2007-07-04 1:09 ` jvdelisle at gcc dot gnu dot org
2007-07-04 1:14 ` jvdelisle at gcc dot gnu dot org
2007-07-04 1:16 ` 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).