From: bernhardheld Date: Thu, 24 Nov 2005 15:46:45 +0000 (+0000) Subject: I was too fast: this breaks regression test bug-221220.c X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=94a7b13a312b6aee0a8978a414772f16123be791;hp=e18eec8c87d6b50be0e894469ec64651b31e2b07;p=fw%2Fsdcc I was too fast: this breaks regression test bug-221220.c git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3980 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- 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);