This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Q. lang_unsave_expr_now which is correct gcc/tree.c or gcc/cp/tree.c?
- To: grahams at rcp dot co dot uk
- Subject: Re: Q. lang_unsave_expr_now which is correct gcc/tree.c or gcc/cp/tree.c?
- From: Gavin Romig-Koch <gavin at cygnus dot com>
- Date: Thu, 26 Aug 1999 16:48:37 -0400 (EDT)
- Cc: egcs-bugs at egcs dot cygnus dot com, Mike Stump <mrs at wrs dot com>, <gcc-patches at gcc dot gnu dot org>
- References: <199908261859.LAA12799@kankakee.wrs.com>
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