com php-src: Using "enum" types as bit-fields is not portable.: ext/opcache/Optimizer/zend_ssa.h
| From: | Dmitry Stogov | Date: | Fri, 22 Sep 2017 10:35:41 +0000 |
| Subject: | com php-src: Using "enum" types as bit-fields is not portable.: ext/opcache/Optimizer/zend_ssa.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99513@lists.php.net to get a copy of this message | ||
Commit: 28391b9e7fa82616a63c3393754e19dd2ad7ebbd
Author: Dmitry Stogov <dmitry@zend.com> Fri, 22 Sep 2017 13:35:41 +0300
Parents: 8a52a61e3a51049a0ae5ef824ff575e2959abe20
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=28391b9e7fa82616a63c3393754e19dd2ad7ebbd
Log:
Using "enum" types as bit-fields is not portable.
Changed paths:
M ext/opcache/Optimizer/zend_ssa.h
Diff:
diff --git a/ext/opcache/Optimizer/zend_ssa.h b/ext/opcache/Optimizer/zend_ssa.h
index 1af4fab..61c4e38 100644
--- a/ext/opcache/Optimizer/zend_ssa.h
+++ b/ext/opcache/Optimizer/zend_ssa.h
@@ -109,7 +109,7 @@ typedef struct _zend_ssa_var {
zend_ssa_phi *sym_use_chain; /* uses of this value in Pi constaints */
unsigned int no_val : 1; /* value doesn't mater (used as op1 in ZEND_ASSIGN) */
unsigned int scc_entry : 1;
- zend_ssa_alias_kind alias : 2; /* value may be changed indirectly */
+ unsigned int alias : 2; /* value may be changed indirectly */
} zend_ssa_var;
typedef struct _zend_ssa_var_info {