Re: GCC -foptimize-strlen and bug #76510
| From: | Sebastian Bergmann | Date: | Sat, 08 Sep 2018 07:59:26 +0000 |
| Subject: | Re: GCC -foptimize-strlen and bug #76510 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103138@lists.php.net to get a copy of this message | ||
On 08/04/2018 11:51 PM, Nikita Popov wrote:
> More likely than not this is a bug on our side triggered by this
> optimization, not a bug in GCC. A run through valgrind might reveal
> something.
Valgrind information has been added to
https://bugs.php.net/bug.php?id=76510.
Can an optimization such as "optimize-strlen" be disabled on a per-file
(or better, on a per-function) basis as a (hopefully) short-term workaround?