I was too fast: this breaks regression test bug-221220.c
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Nov 2005 15:46:45 +0000 (15:46 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Nov 2005 15:46:45 +0000 (15:46 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3980 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCsymt.c

index 7d10d227f6a86fc61038ab1e9638a600d368004c..de557529207f98479ff68e0c354fcb6fd4efa817 100644 (file)
@@ -1644,6 +1644,7 @@ copyLinkChain (sym_link * p)
   while (curr)
     {
       memcpy (loop, curr, sizeof (sym_link));   /* copy it */
+if (getenv ("SDCCCOPYSTRUCT")) // this breaks regression test bug-221220??
       if (IS_STRUCT (loop))
         SPEC_STRUCT (loop) = copyStruct (SPEC_STRUCT (loop));
       loop->next = (curr->next ? newLink (curr->next->class) : (void *) NULL);