[php-src] PR #15078: Workaraound against false positive GCC array bounds error

From: Date: Tue, 23 Jul 2024 12:40:17 +0000
Subject: [php-src] PR #15078: Workaraound against false positive GCC array bounds error
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27451@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15078 Author: dstogov This prevents compilation error when compiling PHP by GCC with "-O2 -g -Wall -Werror" ``` zend_API.c:2754:34: error: array subscript ‘zend_function {aka const union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[160]’ [-Werror=array-bounds=] 2754 | if (ZSTR_VAL(fptr->common.function_name)[0] != '_' ``` This is an alternative to https://github.com/php/php-src/pull/15013

« previous php.git-pulls (#27451) next »