com php-src: Fix weird asm instruction order with gcc by marking as volatile in phpdbg: sapi/phpdbg/phpdbg.c

From: Date: Mon, 13 Jul 2015 12:12:53 +0000
Subject: com php-src: Fix weird asm instruction order with gcc by marking as volatile in phpdbg: sapi/phpdbg/phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87953@lists.php.net to get a copy of this message
Commit: 3f10eddd1d069acf30425bcd0ded0c7cd1addab4 Author: Bob Weinand <bobwei9@hotmail.com> Mon, 13 Jul 2015 14:11:39 +0200 Parents: 82b1e22b5763350d22a1fcd638a648015ca85ca4 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3f10eddd1d069acf30425bcd0ded0c7cd1addab4 Log: Fix weird asm instruction order with gcc by marking as volatile in phpdbg Changed paths: M sapi/phpdbg/phpdbg.c Diff: diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 31dab3f..85a085b 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;

« previous php.cvs (#87953) next »