This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patches waiting for review
- To: "Zack Weinberg" <zackw at stanford dot edu>
- Subject: Re: Patches waiting for review
- From: Jason Merrill <jason_merrill at redhat dot com>
- Date: 09 Apr 2001 16:54:57 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010227171026.J27567@wolery.stanford.edu><u93dcv6lgh.fsf@casey.cambridge.redhat.com>
>>>>> "Jason" == Jason Merrill <jason@redhat.com> writes:
>>>>> "Zack" == Zack Weinberg <zackw@stanford.edu> writes:
>> http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00350.html
>> "Re: c++/1687: Extreme compile time regression from 2.95.2"
>> Tue, 6 Feb 2001
>> kills exponential time consumption in tree inliner.
> You mention a possible problem with a CALL_EXPR that's used in two
> different places; this does happen with EH, when a destructor call is
> expanded both in the body and as an exception cleanup.
But this is OK, since such a CALL_EXPR always appears inside more tree
structure which is also reused; in particular, an UNSAVE_EXPR. So the
first time it is seen and expanded, all uses will be expanded. So your
patch is OK after all.
Jason