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

2018-09-09 Thread Christoph M. Becker
On 09.09.2018 at 22:28, Stanislav Malyshev wrote: > So, I am still not sure what the course of action for #76510 is. It's > still not fixed, original author of the patch (Xinchen Hui) did not > respond to comments on > https://github.com/php/php-src/commit/513b0093c2b480bb752fb354012f42c446769486

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

2018-09-09 Thread Stanislav Malyshev
Hi! So, I am still not sure what the course of action for #76510 is. It's still not fixed, original author of the patch (Xinchen Hui) did not respond to comments on https://github.com/php/php-src/commit/513b0093c2b480bb752fb354012f42c446769486 and we still have 7.3 with non-working phar. I don't t

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

2018-09-08 Thread 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. -- PHP Inte

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

2018-09-08 Thread Christoph M. Becker
On 08.09.2018 at 09:59, Sebastian Bergmann wrote: > 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 > htt

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

2018-09-08 Thread Sebastian Bergmann
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

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