From patchwork Sun Apr 10 12:52:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Koenig X-Patchwork-Id: 90508 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 0B757B6F19 for ; Sun, 10 Apr 2011 22:52:41 +1000 (EST) Received: (qmail 16186 invoked by alias); 10 Apr 2011 12:52:37 -0000 Received: (qmail 16169 invoked by uid 22791); 10 Apr 2011 12:52:36 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cc-smtpout2.netcologne.de (HELO cc-smtpout2.netcologne.de) (89.1.8.212) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 10 Apr 2011 12:52:25 +0000 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout2.netcologne.de (Postfix) with ESMTP id 9388C12855; Sun, 10 Apr 2011 14:52:17 +0200 (CEST) Received: from [192.168.0.197] (xdsl-78-35-147-156.netcologne.de [78.35.147.156]) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA id 6787611E7E; Sun, 10 Apr 2011 14:52:16 +0200 (CEST) Message-ID: <4DA1A7FF.1040006@netcologne.de> Date: Sun, 10 Apr 2011 14:52:15 +0200 From: Thomas Koenig User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: "fortran@gcc.gnu.org" , gcc-patches Subject: [patch, changes, fortran, committed] Mention -ffrontend-optimize and -Wfunction-elimination 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 Hello world, I committed the following as obvious, after verifying with the w3c validator. RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v retrieving revision 1.6 retrieving revision 1.7 functions. diff -u -r1.6 -r1.7 --- changes.html 4 Apr 2011 07:08:12 -0000 1.6 +++ changes.html 10 Apr 2011 09:28:44 -0000 1.7 @@ -61,8 +61,12 @@

Fortran

    -
  • The compiler now always eliminates duplicate calls of pure functions - within a single scalar expression. The +
  • Front-end optimizations can now be selected by the + -ffrontend-optimize option and deselected by + the -fno-frontend-optimize option.
  • +
  • When front-end optimization removes a function call, the + -Wfunction-elimination warns about the removal.
  • +
  • When performing front-end-optimzation, the -faggressive-function-elimination option allows the removal of duplicate function calls even for impure