From: johanknol Date: Fri, 19 Oct 2001 11:41:58 +0000 (+0000) Subject: implicit casts of array to pointer are now in default space X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a4f5942bd0c50ddb1dc42ea7fea25e69b4c04a76;p=fw%2Fsdcc implicit casts of array to pointer are now in default space git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1419 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCsymt.c b/src/SDCCsymt.c index 25a6351b..a25a369f 100644 --- a/src/SDCCsymt.c +++ b/src/SDCCsymt.c @@ -1587,6 +1587,10 @@ aggregateToPointer (value * val) DCL_TYPE (val->type) = GPOINTER; break; } + if (options.model==MODEL_LARGE) { + DCL_TYPE (val->type) = FPOINTER; + break; + } /* fall through! */ case S_AUTO: case S_DATA: