aboutsummaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>2013-06-05 07:31:38 +0000
committerNick Clifton <nickc@gcc.gnu.org>2013-06-05 07:31:38 +0000
commit412e60dc058803522d1d3941cee3d391de534583 (patch)
treecbd3c92c7894cfdbd98f17ac2a1ea9f1b749445d /gcc/common
parent70d51a19c7fbf76bfbae5860c10cb5af959d2d25 (diff)
downloadgcc-412e60dc058803522d1d3941cee3d391de534583.zip
gcc-412e60dc058803522d1d3941cee3d391de534583.tar.gz
gcc-412e60dc058803522d1d3941cee3d391de534583.tar.bz2
Part of the patch to add support for the R100. Accidentally omitted from the checkin.
From-SVN: r199681
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/rx/rx-common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/common/config/rx/rx-common.c b/gcc/common/config/rx/rx-common.c
index 946c93a..4186148 100644
--- a/gcc/common/config/rx/rx-common.c
+++ b/gcc/common/config/rx/rx-common.c
@@ -51,13 +51,16 @@ rx_handle_option (struct gcc_options *opts,
return value >= 0 && value <= 4;
case OPT_mcpu_:
- if ((enum rx_cpu_types) value == RX200)
+ if ((enum rx_cpu_types) value == RX200 ||
+ (enum rx_cpu_types) value == RX100)
opts->x_target_flags |= MASK_NO_USE_FPU;
break;
case OPT_fpu:
if (opts->x_rx_cpu_type == RX200)
error_at (loc, "the RX200 cpu does not have FPU hardware");
+ else if (opts->x_rx_cpu_type == RX100)
+ error_at (loc, "the RX100 cpu does not have FPU hardware");
break;
default: