From patchwork Sat Feb 8 21:07:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Dominique_d=27Humi=C3=A8res?= X-Patchwork-Id: 318507 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 486C22C0079 for ; Sun, 9 Feb 2014 08:07:41 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :to:cc:subject:mime-version:content-type :content-transfer-encoding:message-id:from; q=dns; s=default; b= rKUdTCqRKT2AT0lU0XkcEBNwep0jhs3T67D/njmWagVFfsWu57P47PDgMpz0QRkY 3Ck9DNiKZj/tli4BsFlY7DVX7fppljT9sRkTEBcgxXmWBR92e/9UxHiLhX97seJc QODAyUKyOPYFSgHIjJJrXJOxprOrpZvblnJaOFHp0wc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :to:cc:subject:mime-version:content-type :content-transfer-encoding:message-id:from; s=default; bh=Uans5M 3fx14PyHQXrLxd5rb8F0U=; b=F0UCs6HrwxWoAoFiteNgDU9LOIwrseMzGNGmbx CqUgb9mYscE/ZMqjrvk4f9ircM4zUxi2UBeDbOcyR1+ggNrLNjujrPlNOdPoKwcw qjcdHi5cCx50MWLDIsQUdIcr9VOBk8PWXfcQUiB+R74m4VNBmq+vbsO1dM+Ugc5a ngt5s= Received: (qmail 6492 invoked by alias); 8 Feb 2014 21:07:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 6461 invoked by uid 89); 8 Feb 2014 21:07:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 4 recipients X-HELO: nef2.ens.fr Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 08 Feb 2014 21:07:26 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id s18L7NVT031144 ; Sat, 8 Feb 2014 22:07:24 +0100 (CET) X-Envelope-To: gcc-patches@gcc.gnu.org Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id BB5B7FB; Sat, 8 Feb 2014 22:07:23 +0100 (CET) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PExJ9-gTPstL; Sat, 8 Feb 2014 22:07:23 +0100 (CET) Received: by mailhost.lps.ens.fr (Postfix, from userid 8513) id A71A8104; Sat, 8 Feb 2014 22:07:23 +0100 (CET) Date: Sat, 08 Feb 2014 22:07:23 +0100 To: fortran@gcc.gnu.org Cc: gcc-patches@gcc.gnu.org, dfranke@gcc.gnu.org, bdavis@gcc.gnu.org Subject: [Patch, fortran] PR34928 - Extension: volatile common blocks User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Message-Id: <20140208210723.A71A8104@mailhost.lps.ens.fr> From: dominiq@lps.ens.fr (Dominique Dhumieres) Is the following patch OK? Dominique 2014-02-08 Dominique d'Humieres PR fortran/34928 * fortran/gfortran.texi: Document Volatile COMMON as not suppoerted. --- ../_clean/gcc/fortran/gfortran.texi 2014-01-04 15:51:42.000000000 +0100 +++ gcc/fortran/gfortran.texi 2014-02-03 15:33:50.000000000 +0100 @@ -1990,6 +1990,7 @@ code that uses them running with the GNU @c * CARRIAGECONTROL, DEFAULTFILE, DISPOSE and RECORDTYPE I/O specifiers:: @c * Omitted arguments in procedure call:: * Alternate complex function syntax:: +* Volatile COMMON blocks:: @end menu @@ -2184,6 +2185,18 @@ extensions. @command{gfortran} accepts common, but not the former. +@node Volatile COMMON blocks +@subsection Volatile @code{COMMON} blocks +@cindex @code{VOLATILE} +@cindex @code{COMMON} + +Some Fortran compilers, including @command{g77}, let the user declare +@code{COMMON} with the @code{VOLATILE} attribute. This is +invalid standard Fortran 77/90/95/2003/2008 syntax and is not +supported by @command{gfortran}. Note that @command{gfortran} accepts +VOLATILE variables in COMMON blocks since revision 4.3. + + @c --------------------------------------------------------------------- @c Mixed-Language Programming