This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[c++] duplicate pending_inlines


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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]