From patchwork Tue Aug 21 06:59:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 178983 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 68B3F2C009E for ; Tue, 21 Aug 2012 17:00:00 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1346137200; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=fTciuyK+gTr+RsR06oc50cLjGQs=; b=dg7ZjpFJ5CABMxv SjueqnLq9jhrLFH8ty1do3bhCftRoUmxArOO5Q7iCSTi3N+2iXt64wcTXk2QMLUg mTJ/esF6hr/kTnIU0gHn9em12GQKW0azO+1wHF7ZlpD+EqcghvCnQcGzPwqo4o46 JqWDSaZHkTlEfgDHlf6TiUJyFtEo= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=sO42YF4N/IaTj2jcVJDqIr28DOzxv9spEtNDNadc5NmhS0e7ov93Yv7w4lHIT2 GTs7fB41tFRygiuf+kF6eeDMOxlIMF960h3udC5jfudDNWDP46jzZkKenzQyTAvD u34D/c26HKWAZi0i4+hAXS5MO/wuqeHJEaKKmYU3Udm6Q=; Received: (qmail 6346 invoked by alias); 21 Aug 2012 06:59:53 -0000 Received: (qmail 6329 invoked by uid 22791); 21 Aug 2012 06:59:52 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, 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; Tue, 21 Aug 2012 06:59:26 +0000 Received: from [192.168.178.22] (port-92-204-67-8.dynamic.qsc.de [92.204.67.8]) by mx01.qsc.de (Postfix) with ESMTP id 5AB263CBC7; Tue, 21 Aug 2012 08:59:25 +0200 (CEST) Message-ID: <503331CC.9010906@net-b.de> Date: Tue, 21 Aug 2012 08:59:24 +0200 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Gerald Pfeifer CC: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org Subject: Re: [wwwdocs] Update Fortran secrion in 4.8/changes.html References: <502A5A1F.5050607@net-b.de> In-Reply-To: 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 Gerald Pfeifer wrote: > I went ahead and made some smaller changes, patch below. Thanks. > I noticed you are using ..., as in e, > which we usually don't. Why that? My impression was that a one-letter didn't stand out enough and looked rather odd; if you think it improves consistency or readability, feel free to change it. * * * I intent to commit the attached patch to document two new warning flags, which were recently added. (Suggested in ISO/IEC Technical Report 24772 "Guidance for Avoiding Vulnerabilities through Language Selection and Use".) Tobias Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v retrieving revision 1.17 diff -u -r1.17 changes.html --- changes.html 20 Aug 2012 12:23:39 -0000 1.17 +++ changes.html 21 Aug 2012 06:56:55 -0000 @@ -92,6 +92,21 @@ (re)allocation in hot loops. (For arrays, replacing var= by var(:)= disables the automatic reallocation.) +
  • The + -Wcompare-reals flag has been added. When this flag is set, + warnings are issued when comparing REAL or + COMPLEX types for equality and inequality; consider replacing + a == b by abs(a−b) < eps with a suitable + eps. The -Wcompare-reals flag is enabled by + -Wall.
  • + +
  • The + -Wtarget-lifetime flag has been added (enabled with + -Wall), which warns if the pointer in a pointer assignment + might outlive its target.
  • +
  • Reading floating point numbers which use q for the exponential (such as 4.0q0) is now supported as vendor extension for better compatibility with old data files. It is strongly