summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 969d89e7d19..ef64cb194f3 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -25,6 +25,9 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include <stdio.h>
+#if HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#include "rtl.h"
#include "hard-reg-set.h"
#include "flags.h"
@@ -598,6 +601,7 @@ reg_preferred_class (regno)
enum reg_class
reg_alternate_class (regno)
+ int regno;
{
if (prefclass == 0)
return ALL_REGS;