diff options
author | Xinchen Hui <laruence@gmail.com> | 2015-09-15 08:23:21 -0700 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2015-09-15 08:23:21 -0700 |
commit | 517c59bfcb6f94d606f0bce74f491035c14ada27 (patch) | |
tree | 09b9dfce3c103eb0972544e56aeed9a31ac0dec2 /Zend/zend_vm_execute.h | |
parent | e841016df727896342310b579f93dfc55b931caf (diff) | |
download | php-git-517c59bfcb6f94d606f0bce74f491035c14ada27.tar.gz |
Suppressed warning -Wvolatile-register-var
Diffstat (limited to 'Zend/zend_vm_execute.h')
-rw-r--r-- | Zend/zend_vm_execute.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h index a717262a8c..83e82c870f 100644 --- a/Zend/zend_vm_execute.h +++ b/Zend/zend_vm_execute.h @@ -311,11 +311,15 @@ static const void *zend_vm_get_opcode_handler(zend_uchar opcode, const zend_op* #ifdef ZEND_VM_FP_GLOBAL_REG +#pragma GCC diagnostic ignored "-Wvolatile-register-var" register zend_execute_data* volatile execute_data __asm__(ZEND_VM_FP_GLOBAL_REG); +#pragma GCC diagnostic warning "-Wvolatile-register-var" #endif #ifdef ZEND_VM_IP_GLOBAL_REG +#pragma GCC diagnostic ignored "-Wvolatile-register-var" register const zend_op* volatile opline __asm__(ZEND_VM_IP_GLOBAL_REG); +#pragma GCC diagnostic warning "-Wvolatile-register-var" #endif #ifdef ZEND_VM_FP_GLOBAL_REG |