From 8c4f39d917745a10be6101b791a46ee5c6a82e40 Mon Sep 17 00:00:00 2001 From: johanknol Date: Sat, 1 Sep 2001 09:28:35 +0000 Subject: [PATCH] the --stack-auto crash fix wasn't so useless after all. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1202 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/mcs51/gen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mcs51/gen.c b/src/mcs51/gen.c index 27b8088c..253f52b9 100644 --- a/src/mcs51/gen.c +++ b/src/mcs51/gen.c @@ -6958,7 +6958,8 @@ genNearPointerGet (operand * left, else rname = aopGet (AOP (left), 0, FALSE, FALSE); - aopOp (result, ic, FALSE); + //aopOp (result, ic, FALSE); + aopOp (result, ic, result?TRUE:FALSE); /* if bitfield then unpack the bits */ if (IS_BITVAR (retype)) -- 2.47.2