X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCsymt.c;h=de557529207f98479ff68e0c354fcb6fd4efa817;hb=94a7b13a312b6aee0a8978a414772f16123be791;hp=7d10d227f6a86fc61038ab1e9638a600d368004c;hpb=e18eec8c87d6b50be0e894469ec64651b31e2b07;p=fw%2Fsdcc diff --git a/src/SDCCsymt.c b/src/SDCCsymt.c index 7d10d227..de557529 100644 --- a/src/SDCCsymt.c +++ b/src/SDCCsymt.c @@ -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);