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]
Other format: [Raw text]

[C++] Remove stack.h


Hi,

This removes an unused file.  OK?

Gr.
Steven

Index: stack.h
===================================================================
RCS file: stack.h
diff -N stack.h
*** stack.h	6 Jul 2003 12:35:54 -0000	1.6
--- /dev/null	1 Jan 1970 00:00:00 -0000
***************
*** 1,42 ****
- /* stack.h - structed access to object stacks
-    Copyright (C) 1988, 2000, 2003 Free Software Foundation, Inc.
-    Contributed by Michael Tiemann (tiemann@cygnus.com).
- 
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
- 
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU General Public License for more details.
- 
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.  */
- 
- /* Summary: this file contains additional structures that layer
-    on top of obstacks for GNU C++.  */
- 
- /* Stack of data placed on obstacks.  */
- 
- struct stack_level
- {
-   /* Pointer back to previous such level.  */
-   struct stack_level *prev;
- 
-   /* Point to obstack we should return to.  */
-   struct obstack *obstack;
- 
-   /* First place we start putting data.  */
-   tree *first;
- 
-   /* Number of entries we can have from `first'.
-      Right now we are dumb: if we overflow, abort.  */
-   int limit;
- };
- 
- struct stack_level *push_stack_level (struct obstack *, char *, int);
- struct stack_level *pop_stack_level (struct stack_level *);
--- 0 ----
Index: cp/Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/Make-lang.in,v
retrieving revision 1.195
diff -c -3 -p -r1.195 Make-lang.in
*** cp/Make-lang.in	14 Oct 2004 23:15:25 -0000	1.195
--- cp/Make-lang.in	14 Nov 2004 14:51:46 -0000
*************** cp/lex.o: cp/lex.c $(CXX_TREE_H) $(TM_H)
*** 227,233 ****
  cp/cp-lang.o: cp/cp-lang.c $(CXX_TREE_H) $(TM_H) toplev.h debug.h langhooks.h \
    $(LANGHOOKS_DEF_H) c-common.h gtype-cp.h $(CXX_PRETTY_PRINT_H) $(DIAGNOSTIC_H) \
    cp/cp-objcp-common.h
! cp/decl.o: cp/decl.c $(CXX_TREE_H) $(TM_H) flags.h cp/decl.h stack.h \
    output.h $(EXPR_H) except.h toplev.h $(HASHTAB_H) $(RTL_H) \
    cp/operators.def $(TM_P_H) tree-inline.h diagnostic.h c-pragma.h \
    debug.h gt-cp-decl.h timevar.h $(TREE_FLOW_H)
--- 227,233 ----
  cp/cp-lang.o: cp/cp-lang.c $(CXX_TREE_H) $(TM_H) toplev.h debug.h langhooks.h \
    $(LANGHOOKS_DEF_H) c-common.h gtype-cp.h $(CXX_PRETTY_PRINT_H) $(DIAGNOSTIC_H) \
    cp/cp-objcp-common.h
! cp/decl.o: cp/decl.c $(CXX_TREE_H) $(TM_H) flags.h cp/decl.h \
    output.h $(EXPR_H) except.h toplev.h $(HASHTAB_H) $(RTL_H) \
    cp/operators.def $(TM_P_H) tree-inline.h diagnostic.h c-pragma.h \
    debug.h gt-cp-decl.h timevar.h $(TREE_FLOW_H)
*************** cp/init.o: cp/init.c $(CXX_TREE_H) $(TM_
*** 250,256 ****
  cp/method.o: cp/method.c $(CXX_TREE_H) $(TM_H) toplev.h $(RTL_H) $(EXPR_H) \
    $(TM_P_H) $(TARGET_H) gt-cp-method.h
  cp/cvt.o: cp/cvt.c $(CXX_TREE_H) $(TM_H) cp/decl.h flags.h toplev.h convert.h
! cp/search.o: cp/search.c $(CXX_TREE_H) $(TM_H) stack.h flags.h toplev.h $(RTL_H)
  cp/tree.o: cp/tree.c $(CXX_TREE_H) $(TM_H) flags.h toplev.h $(RTL_H) \
    insn-config.h integrate.h tree-inline.h real.h gt-cp-tree.h $(TARGET_H)
  cp/ptree.o: cp/ptree.c $(CXX_TREE_H) $(TM_H)
--- 250,256 ----
  cp/method.o: cp/method.c $(CXX_TREE_H) $(TM_H) toplev.h $(RTL_H) $(EXPR_H) \
    $(TM_P_H) $(TARGET_H) gt-cp-method.h
  cp/cvt.o: cp/cvt.c $(CXX_TREE_H) $(TM_H) cp/decl.h flags.h toplev.h convert.h
! cp/search.o: cp/search.c $(CXX_TREE_H) $(TM_H) flags.h toplev.h $(RTL_H)
  cp/tree.o: cp/tree.c $(CXX_TREE_H) $(TM_H) flags.h toplev.h $(RTL_H) \
    insn-config.h integrate.h tree-inline.h real.h gt-cp-tree.h $(TARGET_H)
  cp/ptree.o: cp/ptree.c $(CXX_TREE_H) $(TM_H)
Index: cp/search.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/search.c,v
retrieving revision 1.340
diff -c -3 -p -r1.340 search.c
*** cp/search.c	9 Nov 2004 10:12:42 -0000	1.340
--- cp/search.c	14 Nov 2004 14:51:47 -0000
*************** Boston, MA 02111-1307, USA.  */
*** 34,40 ****
  #include "rtl.h"
  #include "output.h"
  #include "toplev.h"
- #include "stack.h"
  
  static int is_subobject_of_p (tree, tree);
  static tree dfs_lookup_base (tree, void *);
--- 34,39 ----


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