fix for stack-auto
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 8 Jan 2002 23:17:56 +0000 (23:17 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 8 Jan 2002 23:17:56 +0000 (23:17 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1785 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/regression/tests/simplefloat.c

index c5434520cb10da4c4bc3bb945ec986552dcde820..c5dc5f25d0d46cec8066765890f0133aee031f2d 100644 (file)
@@ -20,7 +20,7 @@ void
 testDiv(void)
 {
 #if !PORT_HOST
-#ifdef __mcs51
+#if defined __mcs51 && !defined (SDCC_STACK_AUTO)
   idata at 0xd0
 #endif
   volatile float left;