This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch: remove unused sequence_stack declaration
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Apr 2007 09:56:03 -0400
- Subject: patch: remove unused sequence_stack declaration
sequence_stack is defined in struct function. I don't see any use of this
extern declaration.
Tested by building the compiler on x86-64 Linux.
OK to remove?
* function.h: Remove sequence_stack extern declaration.
Index: function.h
===================================================================
--- function.h (revision 123746)
+++ function.h (working copy)
@@ -46,8 +46,6 @@ struct sequence_stack GTY(())
struct sequence_stack *next;
};
-extern struct sequence_stack *sequence_stack;
-
/* Stack of single obstacks. */
struct simple_obstack_stack