diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-07-13 14:11:39 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-07-13 14:11:39 +0200 |
commit | f66905dad7d12d91c6829572c003d3f0a888f6ed (patch) | |
tree | 78618cb389e07c123b612bb9fe4f80f63fee97fe /sapi/phpdbg/phpdbg.c | |
parent | 79e6dba040e596fd9f223728c8ffc18d4457b11e (diff) | |
download | php-git-tmp_liveliness.tar.gz |
Fix weird asm instruction order with gcc by marking as volatile in phpdbgtmp_liveliness
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 31dab3f274..85a085b26e 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1169,7 +1169,7 @@ int main(int argc, char **argv) /* {{{ */ char *php_optarg; int php_optind, opt, show_banner = 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_phpdbg_globals *settings = NULL; char *bp_tmp = NULL; |