This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GC Merge?
>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:
>> Most of these problems stem from the fact that obstacks are a
>> nuisance. In particular, we were copying things to the
>> permanent obstack, and some expressions canot be copied.
Jason> And we can't just allocated them on the permanent obstack
Jason> to begin with?
Right. One good example is SAVE_EXPRs: they can't be copied because
if there are two copies they must be the same. Trying to get GCC to
put SAVE_EXPRs on the permanent obstack, without putting all temporary
junk there, seems really hard.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com