History log of /php-src/ext/opcache/tests/opt/gh11245_2.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# e48a5c14 08-Apr-2024 Bob Weinand

Add zend_test.observer.enabled=0 to opcache tests asserting specific TMP count

Necessary to succeed when tests are run with zend_test.observer.enabled=1.


# 5cad1a71 16-May-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-11245 (In some specific cases SWITCH with one default statement will cause segfault)

The block optimizer pass allows the use of sources of the preceding
block if the block is a fo

Fix GH-11245 (In some specific cases SWITCH with one default statement will cause segfault)

The block optimizer pass allows the use of sources of the preceding
block if the block is a follower and not a target. This causes issues
when trying to remove FREE instructions: if the source is not in the
block of the FREE, then the FREE and source are still removed. Therefore
the other successor blocks, which must consume or FREE the temporary,
will still contain the FREE opline. This opline will now refer to a
temporary that doesn't exist anymore, which most of the time results in
a crash. For these kind of non-local scenarios, we'll let the SSA
based optimizations handle those cases.

Closes GH-11251.

show more ...