[php-src] Issue #20767: Compile fail on macOS 15.5 `fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail`

[email protected] (dktapps)
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/20767
Author: dktapps

### Description

```
fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Apple clang version 17.0.0 (clang-1700.0.13.5)
Target: arm64-apple-darwin24.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/4y/py4x52gd3bv8ybynkrfgc4jm0000gn/T/zend_execute-0ddd58.c
clang: note: diagnostic msg: /var/folders/4y/py4x52gd3bv8ybynkrfgc4jm0000gn/T/zend_execute-0ddd58.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/dylantaylor/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg:

********************
make: *** [Zend/zend_execute.lo] Error 1
```

[zend_execute-0ddd58.sh](https://github.com/user-attachments/files/24302026/zend_execute-0ddd58.sh)
[zend_execute-0ddd58.c](https://github.com/user-attachments/files/24302027/zend_execute-0ddd58.c)

(no crash file found)

Configure command: 
```
#! /bin/sh
#
# Created by configure

'./configure' \
'--disable-all' \
'--enable-cli' \
'--enable-zts' \
"$@"
```

### PHP Version

```plain
8.5.1

The issue does not occur on 8.5.0RC3, which is the last version I built with this compiler
```

### Operating System

macOS 15.5 Sequoia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.