]> git.gag.com Git - fw/sdcc/commitdiff
no need to do that
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 19 Oct 2001 11:05:12 +0000 (11:05 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 19 Oct 2001 11:05:12 +0000 (11:05 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1418 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCsymt.c

index 534b0cd18f2a20fc812eb7157dfeb6f666a5c4f6..25a6351bd601a23edbedc65294c0c4aa3d8fc3bf 100644 (file)
@@ -1553,8 +1553,6 @@ inCalleeSaveList (char *s)
 value *
 aggregateToPointer (value * val)
 {
-  int wasArray=IS_ARRAY(val->type);
-
   if (IS_AGGREGATE (val->type))
     {
       /* if this is a structure */
@@ -1608,12 +1606,6 @@ aggregateToPointer (value * val)
          DCL_TYPE (val->type) = GPOINTER;
        }
       
-      if (wasArray) {
-       /* there is NO way to specify the storage of the pointer
-          associated with an array, so we make it the default */
-       SPEC_SCLS(val->etype) = S_FIXED;
-      }
-
       /* is there is a symbol associated then */
       /* change the type of the symbol as well */
       if (val->sym)