summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 78951cfd3da..5ed04e0bdee 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -778,7 +778,7 @@ fix_register (const char *name, int fixed, int call_used)
}
else
{
- warning ("unknown register name: %s", name);
+ warning (0, "unknown register name: %s", name);
}
}
@@ -792,12 +792,12 @@ globalize_reg (int i)
if (global_regs[i])
{
- warning ("register used for two global register variables");
+ warning (0, "register used for two global register variables");
return;
}
if (call_used_regs[i] && ! fixed_regs[i])
- warning ("call-clobbered register used for global register variable");
+ warning (0, "call-clobbered register used for global register variable");
global_regs[i] = 1;