mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix weird asm instruction order with gcc by marking as volatile in phpdbg
This commit is contained in:
parent
82b1e22b57
commit
3f10eddd1d
1 changed files with 1 additions and 1 deletions
|
@ -1169,7 +1169,7 @@ int main(int argc, char **argv) /* {{{ */
|
||||||
char *php_optarg;
|
char *php_optarg;
|
||||||
int php_optind, opt, show_banner = 1;
|
int php_optind, opt, show_banner = 1;
|
||||||
long cleaning = -1;
|
long cleaning = -1;
|
||||||
zend_bool quit_immediately = 0;
|
volatile zend_bool quit_immediately = 0; /* somehow some gcc release builds will play a bit around with order in combination with setjmp..., hence volatile */
|
||||||
zend_bool remote = 0;
|
zend_bool remote = 0;
|
||||||
zend_phpdbg_globals *settings = NULL;
|
zend_phpdbg_globals *settings = NULL;
|
||||||
char *bp_tmp = NULL;
|
char *bp_tmp = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue