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]

Re: [C++ patch] Avoid re-synthetizing methods


> I found the unprotected call be insinde synthetize_method itself.  Again I
> don't see quite why DECL_INITIAL is not set for the clone when the clone is
> supposed to be inicialized but the attached patch fixes the crash at least.

It fixes the crash, but not the real bug.

You need to answer the question you've implied -- how is it that the
main function got its DECL_INITIAL set but the clone did not?

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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