Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use __builtin_unreachable() directly in ZEND_UNREACHABLE
ZEND_UNREACHABLE() currently expands to the following in GCC: if (__builtin_expect(!(0), 0)) __builtin_unreachable(); Even though the branch is always executed, GCC does not recognize the outer branch as unreachable. Removing the if fixes some unexpected warnings. Closes GH-12248
- Loading branch information