Re: [PHP-DEV] ZE2 broken by newer gcc

2011-09-12 Thread Flavius Aspra
On 09/12/2011 08:45 AM, Dmitry Stogov wrote: Hi Flavius, Unfortunately, the proposed fix is wrong. It changes the operators precedence and it's definitely wrong. I suppose the crash caused by side effect of some other bug. Try to run the same script with valgrind. Thanks. Dmitry. Please t

Re: [PHP-DEV] ZE2 broken by newer gcc

2011-09-11 Thread Dmitry Stogov
Hi Flavius, Unfortunately, the proposed fix is wrong. It changes the operators precedence and it's definitely wrong. I suppose the crash caused by side effect of some other bug. Try to run the same script with valgrind. Thanks. Dmitry. On 09/11/2011 02:27 PM, Flavius Aspra wrote: Hi I think

Re: [PHP-DEV] ZE2 broken by newer gcc

2011-09-11 Thread Ángel González
Flavius Aspra wrote: Hi I think I've found a bug in the engine, and I think it occures only with the latest gcc ("gcc version 4.6.1 20110819 (prerelease)"), since it used to work with earlier versions. For example line 867 http://lxr.php.net/opengrok/xref/PHP_5_3/Zend/zend_execute_API.c#867

[PHP-DEV] ZE2 broken by newer gcc

2011-09-11 Thread Flavius Aspra
Hi I think I've found a bug in the engine, and I think it occures only with the latest gcc ("gcc version 4.6.1 20110819 (prerelease)"), since it used to work with earlier versions. For example line 867 http://lxr.php.net/opengrok/xref/PHP_5_3/Zend/zend_execute_API.c#867 should be && P