Don't set supportRtn for inline code.
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 13 Apr 2001 08:26:14 +0000 (08:26 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 13 Apr 2001 08:26:14 +0000 (08:26 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@737 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCicode.c

index 84c6123f18fc43e1c0fb103b1c3479253b47ce11..2aae78cb8fba2b34a68c619aea8b93fc208b9e53 100644 (file)
@@ -2505,10 +2505,10 @@ geniCodeLogic (operand * left, operand * right, int op)
   ic = newiCode (op, left, right);
   IC_RESULT (ic) = newiTempOperand (newCharLink (), 1);
 
-  /* if comparing anything greater than one byte
+  /* if comparing float
      and not a '==' || '!=' || '&&' || '||' (these
      will be inlined */
-  if (getSize (ctype) > 1 &&
+  if (IS_FLOAT(ctype) &&
       op != EQ_OP &&
       op != NE_OP &&
       op != AND_OP &&