Re: [PHP-DEV] GCC -foptimize-strlen and bug #76510

2018-08-04 Thread Nikita Popov
On Sat, Aug 4, 2018 at 11:18 PM, Dan Ackroyd wrote: > On 4 August 2018 at 21:46, Michael Moravec 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

Re: [PHP-DEV] GCC -foptimize-strlen and bug #76510

2018-08-04 Thread Dan Ackroyd
On 4 August 2018 at 21:46, Michael Moravec 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, presu

[PHP-DEV] GCC -foptimize-strlen and bug #76510

2018-08-04 Thread Michael Moravec
Hi, yesterday I was digging into the bug #76510: https://bugs.php.net/bug.php?id=76510 A strange PHAR- and streams-related issue that only happens for some users/binaries. I was able to trace it down to a GCC optimization "optimize-strlen". Here's when the bug does and does not reproduce: gcc-8 w

[PHP-DEV] Re: On abstract methods defined on traits

2018-08-04 Thread Christoph M. Becker
On 03.08.2018 at 20:47, Pedro Magalhães wrote: > On Fri, Aug 3, 2018 at 7:22 PM Christoph M. Becker > wrote: > >> Frankly, I don't understand what this bug report is about, >> looks pretty much expected (note that the error >> message is totally different from what has be