From patchwork Fri Jan 28 15:54:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 80861 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 29BDFB7103 for ; Sat, 29 Jan 2011 02:55:04 +1100 (EST) Received: (qmail 12253 invoked by alias); 28 Jan 2011 15:55:00 -0000 Received: (qmail 12185 invoked by uid 22791); 28 Jan 2011 15:54:59 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mx01.qsc.de (HELO mx01.qsc.de) (213.148.129.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Jan 2011 15:54:34 +0000 Received: from [192.168.178.22] (port-92-204-33-159.dynamic.qsc.de [92.204.33.159]) by mx01.qsc.de (Postfix) with ESMTP id 84C0D3CFD5; Fri, 28 Jan 2011 16:54:30 +0100 (CET) Message-ID: <4D42E6B6.6020304@net-b.de> Date: Fri, 28 Jan 2011 16:54:30 +0100 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: gfortran g , gcc patches , Gerald Pfeifer Subject: [wwwdocs, Patch] gcc-4.6/changes.html: Minor Fortran update 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 Small patch to the Fortran section of the 4.6 release notes. Current version at: http://gcc.gnu.org/gcc-4.6/changes.html#fortran Do you have comments to the modification? General comments? Did we miss something newsworthy? Tobias Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v retrieving revision 1.97 diff -u -r1.97 changes.html --- changes.html 27 Jan 2011 21:19:49 -0000 1.97 +++ changes.html 28 Jan 2011 15:49:48 -0000 @@ -377,15 +377,17 @@
  • In pointer assignments it is now possible to specify the lower bounds of the pointer and, for a rank-1 or a simply contiguous data-target, to remap the bounds.
  • -
  • Automatic (re)allocation for arrays: In intrinsic assignments to +
  • Automatic (re)allocation: In intrinsic assignments to allocatable variables the left-hand side will be automatically - allocated (if unallocated) or reallocated (if the shape is different). - To avoid the small performance penalty, you can use, for instance, - for arrays a(:) = ... instead of a = ... - – or disable the feature using -std=f95 or - -fno-realloc-lhs. Note: GCC does not yet support - (re)allocation on assignment for allocatable scalar variables. -
  • + allocated (if unallocated) or reallocated (if the shape or type + parameter is different). To avoid the small performance penalty, + you can use for arrays and character strings a(:) = ... + instead of a = ... – or disable the feature using + -std=f95 or -fno-realloc-lhs. +
  • Deferred type parameter: For scalar allocatable and pointer + variables the character length can be deferred.
  • +
  • Namelist variables with allocatable and pointer attribute and + nonconstant length type parameter are supported
  • Fortran 2008 support has been extended: