Q. lang_unsave_expr_now which is correct gcc/tree.c or gcc/cp/tree.c?

Gavin Romig-Koch gavin@cygnus.com
Tue Aug 31 22:45:00 GMT 1999


Thanks for your bug report.  I've commited the following patch 
to fix this.

                                           -gavin...


Index: tree.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/tree.c,v
retrieving revision 1.73
diff -r1.73 tree.c
273c273
< int (*lang_unsave_expr_now) PROTO((tree));
---
> void (*lang_unsave_expr_now) PROTO((tree));
Index: tree.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/tree.h,v
retrieving revision 1.81
diff -r1.81 tree.h
1741c1741
< extern int (*lang_unsave_expr_now)      PROTO((tree));
---
> extern void (*lang_unsave_expr_now)      PROTO((tree));
Index: cp/cp-tree.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/cp-tree.h,v
retrieving revision 1.271
diff -r1.271 cp-tree.h
3416c3416
< extern tree cplus_unsave_expr_now               PROTO((tree));
---
> extern void cplus_unsave_expr_now               PROTO((tree));
Index: cp/tree.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/tree.c,v
retrieving revision 1.138
diff -r1.138 tree.c
2869c2869
< tree
---
> void



More information about the Gcc-bugs mailing list