Skip to content

Commit

Permalink
Fixed bug #69896 'asm' operand has impossible constraints
Browse files Browse the repository at this point in the history
Given it's an issue with 32-bit gcc-4.8, asm is disabled for the
breaking parts.
  • Loading branch information
weltling committed Aug 2, 2015
1 parent cddef30 commit ee2e169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Zend/zend_operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ static zend_always_inline void fast_long_decrement_function(zval *op1)

static zend_always_inline void fast_long_add_function(zval *result, zval *op1, zval *op2)
{
#if defined(__GNUC__) && defined(__i386__)
#if defined(__GNUC__) && defined(__i386__) && !(4 == __GNUC__ && 8 == __GNUC_MINOR__)
__asm__(
"movl (%1), %%eax\n\t"
"addl (%2), %%eax\n\t"
Expand Down Expand Up @@ -596,7 +596,7 @@ static zend_always_inline int fast_add_function(zval *result, zval *op1, zval *o

static zend_always_inline void fast_long_sub_function(zval *result, zval *op1, zval *op2)
{
#if defined(__GNUC__) && defined(__i386__)
#if defined(__GNUC__) && defined(__i386__) && !(4 == __GNUC__ && 8 == __GNUC_MINOR__)
__asm__(
"movl (%1), %%eax\n\t"
"subl (%2), %%eax\n\t"
Expand Down

0 comments on commit ee2e169

Please sign in to comment.