From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121445 invoked by alias); 4 Aug 2017 12:09:40 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 120136 invoked by uid 89); 4 Aug 2017 12:09:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=opportunity X-Spam-User: qpsmtpd, 2 recipients X-HELO: cc-smtpout3.netcologne.de Received: from cc-smtpout3.netcologne.de (HELO cc-smtpout3.netcologne.de) (89.1.8.213) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Aug 2017 12:09:33 +0000 Received: from cc-smtpin3.netcologne.de (cc-smtpin3.netcologne.de [89.1.8.203]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id 9D62F12666; Fri, 4 Aug 2017 14:09:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin3.netcologne.de (Postfix) with ESMTP id 96E9E11D96; Fri, 4 Aug 2017 14:09:29 +0200 (CEST) Received: from [78.35.135.193] (helo=cc-smtpin3.netcologne.de) by localhost with ESMTP (eXpurgate 4.1.9) (envelope-from ) id 598463f9-02b7-7f0000012729-7f000001dbae-1 for ; Fri, 04 Aug 2017 14:09:29 +0200 Received: from [192.168.178.20] (xdsl-78-35-135-193.netcologne.de [78.35.135.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin3.netcologne.de (Postfix) with ESMTPSA; Fri, 4 Aug 2017 14:09:28 +0200 (CEST) To: "fortran@gcc.gnu.org" , gcc-patches From: Thomas Koenig Subject: [patch, gcc doc + fortran] Make -Ofast honor -fmax-stack-var-size Message-ID: <771574e4-889e-ca1d-ff44-08152e26555b@netcologne.de> Date: Fri, 04 Aug 2017 12:09:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-08/txt/msg00373.txt.bz2 Hello world, the attached patch makes -Ofast honor -fmax-stack-var-size, and adjusts the documentation in the gcc and fortran directories accordingly. This is done to alleviate PR 68829, to make it possible to run -Ofast with less stack usage. I have also taken the opportunity to make it a bit clearer what -fstack-arrays actually does. I intend to close PR 68829 once this is committed. Regression-tested, plus doc changes tested with "make pdf" and "make dvi". OK for trunk for - the fortran subdirectory changes - the gcc doc changes (if the one above is approved) ? Regards Thomas