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] relocate an optab array


A missing root.

Bootstrapped & tested on powerpc-darwin.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/pchbranch-codetooptab.patch===============
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.12690.2.80
diff -u -p -u -p -r1.12690.2.80 ChangeLog
--- ChangeLog	14 Nov 2002 17:46:06 -0000	1.12690.2.80
+++ ChangeLog	15 Nov 2002 16:41:41 -0000
@@ -1,3 +1,7 @@
+2002-11-14  Geoffrey Keating  <geoffk@apple.com>
+
+	* optabs.h (code_to_optab): Add GTY marker.
+
 2002-11-13  Geoffrey Keating  <geoffk@apple.com>
 
 	* Makefile.in (GTFILES): Add cpplib.h.
Index: optabs.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/optabs.h,v
retrieving revision 1.5.6.3
diff -u -p -u -p -r1.5.6.3 optabs.h
--- optabs.h	13 Aug 2002 17:56:36 -0000	1.5.6.3
+++ optabs.h	15 Nov 2002 16:41:41 -0000
@@ -1,5 +1,5 @@
 /* Definitions for code generation pass of GNU compiler.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -231,7 +231,7 @@ extern enum insn_code reload_in_optab[NU
 extern enum insn_code reload_out_optab[NUM_MACHINE_MODES];
 
 /* Contains the optab used for each rtx code.  */
-extern optab code_to_optab[NUM_RTX_CODE + 1];
+extern GTY(()) optab code_to_optab[NUM_RTX_CODE + 1];
 
 
 typedef rtx (*rtxfun) PARAMS ((rtx));
============================================================


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