This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 01/01/2012 08:10 PM, Paolo Carlini wrote:Oh I see, thanks. Then I'm going to properly test it, etc, and if everything goes well, I'll post what I will actually commit.In most cases, trees are unshared at instantiation time, but that doesn't apply to constants like this. The patch is OK.The analysis is confirmed by the fact that the rather heavy handed patchlet which I'm attaching, which uses copy_node to avoid the corruption, "works". How do we normally handle this kind of situation?
Thanks again, Paolo.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |