From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16033 invoked by alias); 2 May 2006 08:37:30 -0000 Received: (qmail 16016 invoked by uid 48); 2 May 2006 08:37:26 -0000 Date: Tue, 02 May 2006 08:37:00 -0000 Message-ID: <20060502083726.16015.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/27304] gfortran: Warn/abort when format in write does not fit passed arguments In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tobias dot burnus at physik dot fu-berlin dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00108.txt.bz2 List-Id: ------- Comment #14 from tobias dot burnus at physik dot fu-berlin dot de 2006-05-02 08:37 ------- > Fixed on 4.1 and 4.2 Thanks for fixing :-) Still it would be nice if it would be detected during compile time. In my case it was burried in an if(something that rarely happens) write(*,'(''n'')') n which I wouldn't have found easily without the compile-time warning of the NAG compiler. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27304