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]

[pch] forgotten gengtype fixlet


Needed for the alpha patch I posted earlier.


r~


        * gengtype.c (walk_type): Allow paramN_is.

Index: gengtype.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gengtype.c,v
retrieving revision 1.23
diff -c -p -d -r1.23 gengtype.c
*** gengtype.c	10 Jan 2003 02:22:02 -0000	1.23
--- gengtype.c	17 Jan 2003 11:34:33 -0000
*************** walk_type (t, d)
*** 1560,1565 ****
--- 1560,1569 ----
        ;
      else if (strcmp (oo->name, "param_is") == 0)
        ;
+     else if (strncmp (oo->name, "param", 5) == 0
+ 	     && ISDIGIT (oo->name[5])
+ 	     && strcmp (oo->name + 6, "_is") == 0)
+       ;
      else if (strcmp (oo->name, "chain_next") == 0)
        ;
      else if (strcmp (oo->name, "chain_prev") == 0)


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