aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-14 02:56:51 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-14 02:56:51 +0000
commit1b28cd06972a85be465cd1e9c7854f167a3b8157 (patch)
treedb90e6a3e169eead0239d6ad740a8069ae45dd42 /gcc
parent7b25e6631d06cd75c0db8f59e1e863eda4d0c66e (diff)
downloadgcc-1b28cd06972a85be465cd1e9c7854f167a3b8157.zip
gcc-1b28cd06972a85be465cd1e9c7854f167a3b8157.tar.gz
gcc-1b28cd06972a85be465cd1e9c7854f167a3b8157.tar.bz2
regclass.c (reg_class_superclasses, [...]): Make them static.
* regclass.c (reg_class_superclasses, reg_class_subclasses): Make them static. * hard-reg-set.h: Remove the corresponding declarations. From-SVN: r96410
Diffstat (limited to 'gcc')
-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 d8fcc52..eda99eb 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 c78527e..b101c5e 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 adfab02..78951cf 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. */