Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103141 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 47241 invoked from network); 8 Sep 2018 15:48:36 -0000 Received: from unknown (HELO scarlet.netpirates.net) (188.94.27.5) by pb1.pair.com with SMTP; 8 Sep 2018 15:48:36 -0000 Received: from host-62-245-247-43.customer.m-online.net ([62.245.247.43] helo=localhost.localdomain) by scarlet.netpirates.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fybmf-0004T5-34 for internals@lists.php.net; Sat, 08 Sep 2018 13:52:13 +0200 To: internals@lists.php.net References: <4a33e4e8-c72d-6101-8999-366391c78721@php.net> Message-ID: Date: Sat, 8 Sep 2018 13:52:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] GCC -foptimize-strlen and bug #76510 From: sebastian@php.net (Sebastian Bergmann) On 09/08/2018 01:14 PM, Christoph M. Becker wrote: > I don't think it makes sense to disable optimize-strlen > for individual files only, but I rather suggest to check whether > optimize-strlen is broken, and if so to add -fno-optimize-strlen to the > CFLAGS (etc.) Makes sense to me.