From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23677 invoked by alias); 29 Jun 2007 10:05:36 -0000 Received: (qmail 23629 invoked by uid 48); 29 Jun 2007 10:05:22 -0000 Date: Fri, 29 Jun 2007 10:05:00 -0000 Subject: [Bug fortran/32545] New: Give an (compile time) error not a warning for wrong edit format statements X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-06/txt/msg02700.txt.bz2 Example: read '(i0)', i 1 Warning: Positive width required in format string at (1) [2007-06-24 23:19:31] 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