summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-14 02:56:51 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-14 02:56:51 +0000
commita792c50014aeb5c4cb79f539e07574bfd72ab65e (patch)
treedb90e6a3e169eead0239d6ad740a8069ae45dd42
parentf4b1b8e2caa25bd0cc25e0c0e7c44cbe9c2af0a4 (diff)
downloadppe42-gcc-a792c50014aeb5c4cb79f539e07574bfd72ab65e.tar.gz
ppe42-gcc-a792c50014aeb5c4cb79f539e07574bfd72ab65e.zip
* regclass.c (reg_class_superclasses, reg_class_subclasses):
Make them static. * hard-reg-set.h: Remove the corresponding declarations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96410 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/hard-reg-set.h8
-rw-r--r--gcc/regclass.c4
3 files changed, 6 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d8fcc529242..eda99eb93f7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -6,6 +6,10 @@
* function.c (get_func_frame_size): Make it static.
* function.h: Remove the corresponding type.
+ * regclass.c (reg_class_superclasses, reg_class_subclasses):
+ Make them static.
+ * hard-reg-set.h: Remove the corresponding declarations.
+
2005-03-14 Alan Modra <amodra@bigpond.net.au>
* config.gcc: Remove excess indentation.
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h
index c78527e4cf6..b101c5eb6e6 100644
--- a/gcc/hard-reg-set.h
+++ b/gcc/hard-reg-set.h
@@ -464,14 +464,6 @@ extern HARD_REG_SET reg_class_contents[N_REG_CLASSES];
extern unsigned int reg_class_size[N_REG_CLASSES];
-/* For each reg class, table listing all the containing classes. */
-
-extern enum reg_class reg_class_superclasses[N_REG_CLASSES][N_REG_CLASSES];
-
-/* For each reg class, table listing all the classes contained in it. */
-
-extern enum reg_class reg_class_subclasses[N_REG_CLASSES][N_REG_CLASSES];
-
/* For each pair of reg classes,
a largest reg class contained in their union. */
diff --git a/gcc/regclass.c b/gcc/regclass.c
index adfab02ad2c..78951cfd3da 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -172,11 +172,11 @@ unsigned int reg_class_size[N_REG_CLASSES];
/* For each reg class, table listing all the containing classes. */
-enum reg_class reg_class_superclasses[N_REG_CLASSES][N_REG_CLASSES];
+static enum reg_class reg_class_superclasses[N_REG_CLASSES][N_REG_CLASSES];
/* For each reg class, table listing all the classes contained in it. */
-enum reg_class reg_class_subclasses[N_REG_CLASSES][N_REG_CLASSES];
+static enum reg_class reg_class_subclasses[N_REG_CLASSES][N_REG_CLASSES];
/* For each pair of reg classes,
a largest reg class contained in their union. */
OpenPOWER on IntegriCloud