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: TYPE_LANG_SPECIFIC missing


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


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