From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2407 invoked by alias); 3 Feb 2012 07:31:07 -0000 Received: (qmail 2386 invoked by uid 22791); 3 Feb 2012 07:31:04 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Feb 2012 07:30:50 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52101] Obsolescence warning for non-obs. feature character name*length Date: Fri, 03 Feb 2012 07:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-02/txt/msg00313.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52101 --- Comment #2 from Tobias Burnus 2012-02-03 07:30:24 UTC --- As postscript: * A program which uses the CHARACTER* declaration is still perfectly valid Fortran 95/2003/2008. - Thus, you do not have to react on the warning, you should only avoid it for new code and could consider fixing it in the old code. * A Fortran compiler is required to diagnose obsolescent features. From Fortran 2008, Section 1.5: "A processor conforms to this part of ISO/IEC 1539 if: [...] (2) it contains the capability to detect and report the use within a submitted program unit of a form designated herein as obsolescent, insofar as such use can be detected by reference to the numbered syntax rules and constraints;" That's what gfortran does if one ask for it (-std=f95/f2003/f2008/f2008tr).