This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C++ PATCH] stop emitting __FUNCTION__
- To: Zack Weinberg <zack at wolery dot cumb dot org>, gcc-patches at gcc dot gnu dot org
- Subject: [C++ PATCH] stop emitting __FUNCTION__
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Wed, 21 Jun 2000 13:24:12 +0100
- Organization: Codesourcery LLC
- References: <20000619134759.A27165@wolery.cumb.org>
Zack Weinberg wrote:
[an empty TU still emits __FUNCTION__ etc]
fixed with this obvious patch, built & tested on i686-pc-linux-gnu
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
2000-06-21 Nathan Sidwell <nathan@codesourcery.com>
* parse.y (program): Always call finish_translation_unit.
* parse.c, parse.h: Rebuilt.
Index: cp/parse.y
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/parse.y,v
retrieving revision 1.177
diff -c -3 -p -r1.177 parse.y
*** parse.y 2000/06/19 18:40:21 1.177
--- parse.y 2000/06/21 12:17:23
*************** extern void yyprint PARAMS ((FILE *, i
*** 431,436 ****
--- 431,437 ----
%%
program:
/* empty */
+ { finish_translation_unit (); }
| extdefs
{ finish_translation_unit (); }
;