This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[c++] duplicate pending_inlines
- To: gcc-patches at gcc dot gnu dot org
- Subject: [c++] duplicate pending_inlines
- From: Richard Henderson <rth at redhat dot com>
- Date: Sat, 28 Jul 2001 18:41:51 -0700
In trying to build the compiler with -fno-common, I discovered
that we have to definitions of pending_inlines: one in method.c,
and one in spew.c.
Since spew.c is where the variable is actually manipulated, I
removed the method.c defition as obvious.
Tested by building cc1plus on ia64 linux.
r~
* method.c (pending_inlines): Remove.
Index: method.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/method.c,v
retrieving revision 1.205
diff -c -p -d -r1.205 method.c
*** method.c 2001/07/05 15:39:36 1.205
--- method.c 2001/07/29 01:38:16
*************** enum mangling_flags
*** 54,63 ****
typedef enum mangling_flags mangling_flags;
- /* TREE_LIST of the current inline functions that need to be
- processed. */
- struct pending_inline *pending_inlines;
-
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
--- 54,59 ----