(C++) patch to local classes in templates
Mark Mitchell
mark@codesourcery.com
Mon Aug 28 17:10:00 GMT 2000
>>>>> "Jason" == Jason Merrill <jason@redhat.com> writes:
Jason> Currently we compile local classes in template functions at
Jason> toplevel, outside of their containing functions. This
Jason> works, but results in passing the wrong value to the toplev
Jason> parm of rest_of_type_compilation, which can cause problems
Jason> with debugging information.
Ugh.
Jason> Mark, is the current behavior intentional?
No. Does your patch work for nested local classes?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-patches
mailing list