This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: TYPE_LANG_SPECIFIC missing
- To: Chip Salzenberg <chip at perlsupport dot com>
- Subject: Re: TYPE_LANG_SPECIFIC missing
- From: Jason Merrill <jason at cygnus dot com>
- Date: 20 Mar 1999 00:40:30 -0800
- Cc: egcs-patches at cygnus dot com
- References: <199902051041.CAA25313@yorick.cygnus.com> <19990205182527.A1199@perlsupport.com> <u9sociq1ug.fsf@yorick.cygnus.com> <19990207215744.E12417@perlsupport.com> <u91zil25oo.fsf@yorick.cygnus.com> <19990320001615.H10832@perlsupport.com>
>>>>> Chip Salzenberg <chip@perlsupport.com> writes:
> According to Jason Merrill:
>> Applied, thanks. Sorry this took so long.
> 'Sokay ... but was my patch really the right way, or did you find some
> way to prevent the creation of types without T_L_S?
The problem was that we were dealing with a TEMPLATE_TYPE_PARM, which
doesn't get T_L_S. I tweaked your patch slightly to check CLASS_TYPE_P
instead of checking for T_L_S directly, because we can only use
CLASSTYPE_FOO macros on class types.
Jason