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]

[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);
============================================================


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