diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-05 07:31:38 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-05 07:31:38 +0000 |
commit | ad93e10ba4aa7d6c09bd5e44277d42ad66181d94 (patch) | |
tree | cbd3c92c7894cfdbd98f17ac2a1ea9f1b749445d /gcc/common/config | |
parent | 9477149472515f892840c657864db77fbb508a4c (diff) | |
download | gcc-ad93e10ba4aa7d6c09bd5e44277d42ad66181d94.tar.gz |
Part of the patch to add support for the R100. Accidentally omitted from the checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199681 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common/config')
-rw-r--r-- | gcc/common/config/rx/rx-common.c | 5 |
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 946c93a499b..4186148318e 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: |