Bug #69038 [Asn]: switch(SOMECONSTANT) misbehaves
| From: | laruence@php.net | Date: | Fri, 27 Feb 2015 15:41:15 +0000 |
| Subject: | Bug #69038 [Asn]: switch(SOMECONSTANT) misbehaves | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190991@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69038&edit=1
ID: 69038
Updated by: laruence@php.net
Reported by: php at bof dot de
Summary: switch(SOMECONSTANT) misbehaves
Status: Assigned
Type: Bug
Package: opcache
Operating System: Linux
PHP Version: 5.6.5
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
as we talk via mail, this fixed in later commits
Previous Comments:
------------------------------------------------------------------------
[2015-02-17 15:15:53] php at bof dot de
Sorry, Laruence, have to reopen.
I test-built PHP 5.6.6RC1 with your patch applied.
Using your test case from the git commit today, I can see that that test case now works (okey two
times), and with my previous 5.6.5 build it fails (bad two times).
However, my own reproducer from comment [2015-02-12 09:57 UTC] here, still fails.
Please let me know if you need any more information (configure arguments and such) for my build.
------------------------------------------------------------------------
[2015-02-17 14:06:10] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7299d435362b8ae623f3897656b895e10cee1e52
Log: Fixed bug #69038 (switch(SOMECONSTANT) misbehaves) for master
------------------------------------------------------------------------
[2015-02-17 14:06:07] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=66d30959935da6ad3df800f45a2d23d09637054c
Log: Fixed bug #69038 (switch(SOMECONSTANT) misbehaves)
------------------------------------------------------------------------
[2015-02-16 10:42:04] php at bof dot de
Thanks laruence for having a go at it.
I tried your gist with 5.6.6RC1 - the issue is still the same, although I don't get a valgrind
error any more (which was sporadic before, too)
No other negative impact seen with your gist applied, though - no new test suite failures seen.
------------------------------------------------------------------------
[2015-02-15 03:36:24] laruence@php.net
a fix could be https://gist.github.com/laruence/14a5c7388a50ff716ada
anyway, I needs verify it carefully
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69038
--
Edit this bug report at https://bugs.php.net/bug.php?id=69038&edit=1