This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[pch] forgotten gengtype fixlet
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 17 Jan 2003 03:38:04 -0800
- Subject: [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)