From patchwork Wed Sep 1 16:47:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 63402 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]) by ozlabs.org (Postfix) with SMTP id 2A0AEB7181 for ; Thu, 2 Sep 2010 02:47:29 +1000 (EST) Received: (qmail 1353 invoked by alias); 1 Sep 2010 16:47:24 -0000 Received: (qmail 1318 invoked by uid 22791); 1 Sep 2010 16:47:21 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL, BAYES_05, RCVD_IN_DNSWL_NONE, URIBL_RHS_DOB X-Spam-Check-By: sourceware.org Received: from mx02.qsc.de (HELO mx02.qsc.de) (213.148.130.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Sep 2010 16:47:16 +0000 Received: from [192.168.178.22] (port-92-204-46-222.dynamic.qsc.de [92.204.46.222]) by mx02.qsc.de (Postfix) with ESMTP id 540CA295E8; Wed, 1 Sep 2010 18:47:14 +0200 (CEST) Message-ID: <4C7E8391.10501@net-b.de> Date: Wed, 01 Sep 2010 18:47:13 +0200 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100714 SUSE/3.1.1 Thunderbird/3.1.1 MIME-Version: 1.0 To: gcc patches , gfortran Subject: [Patch,Fortran,committed] Update download address of coco 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 Committed as obvious. The address change was announced at http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/408b5807538f0e6b though the old address is currently still valid. [Background: COCO (or conditional compilation) is a preprocessor similarly to CPP, which has been defined as Part 3 of the Fortran standard (ISO/IEC 1539-3:1999). Despite being an ISO standard, no (?) compiler vendor has implemented a preprocessor and COCO is widely unknown and almost no one uses it - thus, it might be withdrawn in the future. Dan has written a COCO preprocessor (in Fortran), which is freely available.] Tobias PS: Another not so much used standard is Part 2, which defines varying length character strings; there exist implementations (written in Fortran) for it, it has some limited usage, but also is threatened to be withdrawn. For Part 1 there is no official replacement, but CPP ("FPP") is widely used; for Part 2, Fortran 2003 provides allocatable character lengths (deferred type parameter) and (re)allocate on assignment which is a more natural replacement. Let's see what Fortran 2013 will provide - maybe some template/macro programming, which partially replaces CPP? Index: gfortran.texi =================================================================== --- gfortran.texi (revision 163738) +++ gfortran.texi (working copy) @@ -426,7 +426,7 @@ Part 3 of the Fortran 95 standard (ISO/IEC 1539-3:1998) defines Conditional Compilation, which is not widely used and not directly supported by the GNU Fortran compiler. You can use the program coco -to preprocess such files (@uref{http://users.erols.com/dnagle/coco.html}). +to preprocess such files (@uref{http://www.daniellnagle.com/coco.html}). @c --------------------------------------------------------------------- Index: ChangeLog =================================================================== --- ChangeLog (revision 163738) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2010-09-01 Tobias Burnus + + * gfortran.texi (preprocessing): Update URL to COCO. + 2010-09-01 Francois-Xavier Coudert * trans-intrinsic.c (gfc_build_intrinsic_lib_fndecls): Resize