C++ PATCH: PR c++/7228
David Edelsohn
dje@watson.ibm.com
Wed Oct 23 18:29:00 GMT 2002
* cp/lex.c (cxx_make_type): Allocate TYPE_LANG_SPECIFIC for
anything matching IS_AGGR_TYPE.
Index: lex.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/lex.c,v
retrieving revision 1.293
diff -c -p -r1.293 lex.c
*** lex.c 15 Oct 2002 23:59:20 -0000 1.293
--- lex.c 24 Oct 2002 01:26:49 -0000
*************** cxx_make_type (code)
*** 1467,1473 ****
/* Create lang_type structure. */
if (IS_AGGR_TYPE_CODE (code)
! || code == BOUND_TEMPLATE_TEMPLATE_PARM)
{
struct lang_type *pi;
--- 1467,1475 ----
/* Create lang_type structure. */
if (IS_AGGR_TYPE_CODE (code)
! || code == TEMPLATE_TYPE_PARM
! || code == BOUND_TEMPLATE_TEMPLATE_PARM
! || code == TYPENAME_TYPE)
{
struct lang_type *pi;
More information about the Gcc-patches
mailing list