Re: GCC -foptimize-strlen and bug #76510
| From: | Nikita Popov | Date: | Sat, 04 Aug 2018 21:51:55 +0000 |
| Subject: | Re: GCC -foptimize-strlen and bug #76510 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103043@lists.php.net to get a copy of this message | ||
On Sat, Aug 4, 2018 at 11:18 PM, Dan Ackroyd <danack@basereality.com> wrote:
> On 4 August 2018 at 21:46, Michael Moravec <php.net@majkl578.cz> wrote:
> >
> > Unfortunately this is where my journey ends - my C/GCC knowledge is not
> > sufficient enough to analyse this further.
> >
>
> Hi Michael,
>
> If you can reproduce the issue, it would be appropriate for you to
> open a bug report with the GCC people, presumably at
> https://gcc.gnu.org/bugzilla/
>
> What can be done to work around optimisation bugs is quite limited.
>
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.
Nikita