diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-20 16:24:31 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-20 16:24:31 +0200 |
| commit | 6aaab9adf7619c121c19701022aeb8d88f9c3bab (patch) | |
| tree | 531c292fdae6364f73f141759788a626888238d8 /Zend/zend_operators.c | |
| parent | 50978128f50eb5fa5920aea8a19a5855059a87c7 (diff) | |
| parent | 6165c23475d5020cda3794cb684693a7fab9918d (diff) | |
| download | php-git-6aaab9adf7619c121c19701022aeb8d88f9c3bab.tar.gz | |
Merge branch 'PHP-7.4'
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 6b7d5d16ac..17e7434215 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1238,6 +1238,9 @@ ZEND_API int ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2) /* { } /* }}} */ +#ifdef __clang__ +__attribute__((no_sanitize("float-divide-by-zero"))) +#endif ZEND_API int ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */ { zval op1_copy, op2_copy; |
