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]

Re: Patches waiting for review


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]