This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
C++ PATCH: PR c++/7228
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 23 Oct 2002 21:29:22 -0400
- Subject: C++ PATCH: PR c++/7228
* 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;