From ed56743c895a14b74fc94e923c94c289fef6ab37 Mon Sep 17 00:00:00 2001 From: johanknol Date: Fri, 13 Apr 2001 08:26:14 +0000 Subject: [PATCH] Don't set supportRtn for inline code. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@737 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCicode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 84c6123f..2aae78cb 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -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 && -- 2.47.2