Since Kevin decided to treat reentrant functions implicitly not IS_REGPARM-ed
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 19 Aug 2000 11:43:48 +0000 (11:43 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 19 Aug 2000 11:43:48 +0000 (11:43 +0000)
in src/SDCCicode.c:geniCodeParms()-1.31 we shouldn't SPEC_REGPARM them either:)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@322 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCsymt.c

index a60dc6b9facb2fea4084e96f2eba81e36623a4fe..393e3c97b6b7948050fe99229dd6e05dc369ab56 100644 (file)
@@ -1425,8 +1425,8 @@ void  processFuncArgs   (symbol *func, int ignoreName)
           not inhibited by command line option or #pragma */
        if (!func->hasVargs       &&        
            !options.noregparms   &&
+           !IS_RENT(func->etype) &&
            (*port->reg_parm)(val->type)) {
-
            SPEC_REGPARM(val->etype) = 1;
        }