This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PCH] Remove rtl_obstack declaration from gengenrtl.c.
- From: Geoffrey Keating <geoffk at romulus dot sfbay dot redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 4 Aug 2002 13:47:47 -0700
- Subject: [PCH] Remove rtl_obstack declaration from gengenrtl.c.
rtl_obstack is very nearly obsolete, and certainly isn't used in this
file.
Bootstrapped & tested on x86-linux.
--
Geoff Keating <geoffk@redhat.com>
===File ~/patches/pchbranch-gengennoobstack.patch===========
2002-08-03 Geoffrey Keating <geoffk@redhat.com>
* gengenrtl.c: Delete unnecessary rtl_obstack declaration.
Index: gengenrtl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gengenrtl.c,v
retrieving revision 1.50.4.5
diff -p -u -p -r1.50.4.5 gengenrtl.c
--- gengenrtl.c 24 Jul 2002 20:09:12 -0000 1.50.4.5
+++ gengenrtl.c 4 Aug 2002 20:46:22 -0000
@@ -336,7 +336,6 @@ gencode ()
puts ("#include \"obstack.h\"");
puts ("#include \"rtl.h\"");
puts ("#include \"ggc.h\"\n");
- puts ("extern struct obstack *rtl_obstack;\n");
for (fmt = formats; *fmt != 0; fmt++)
gendef (*fmt);
============================================================