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]
Other format: [Raw text]

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;
  


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