I was too fast: this breaks regression test bug-221220.c
[fw/sdcc] / 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);