aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 58019b0..0f41718 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -1363,7 +1363,8 @@ maybe_fix_stack_asms ()
break;
case 'p':
- cls = (int) reg_class_subunion[cls][(int) BASE_REG_CLASS];
+ cls = (int) reg_class_subunion[cls]
+ [(int) MODE_BASE_REG_CLASS (VOIDmode)];
break;
case 'g':