summaryrefslogtreecommitdiff
path: root/gcc/config/c4x/c4x.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/c4x/c4x.c')
-rw-r--r--gcc/config/c4x/c4x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index ef5860252bf..a50cbb8a88c 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -317,8 +317,8 @@ c4x_override_options (void)
/* We're C4X floating point, not IEEE floating point. */
memset (real_format_for_mode, 0, sizeof real_format_for_mode);
- real_format_for_mode[QFmode - QFmode] = &c4x_single_format;
- real_format_for_mode[HFmode - QFmode] = &c4x_extended_format;
+ REAL_MODE_FORMAT (QFmode) = &c4x_single_format;
+ REAL_MODE_FORMAT (HFmode) = &c4x_extended_format;
}