From 8713190c2bad19c00c84838c04ece84b9069f01b Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Wed, 8 Jun 2005 20:14:19 +0000 Subject: [PATCH] linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use rs6000_explicit_options. * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use rs6000_explicit_options. From-SVN: r100775 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/linuxspe.h | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2d5c57c183c..d900474a691 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-06-08 Aldy Hernandez + + * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use + rs6000_explicit_options. + 2005-06-08 Richard Henderson * config/ia64/ia64.h (FUNCTION_PROFILER): Move implementation ... diff --git a/gcc/config/rs6000/linuxspe.h b/gcc/config/rs6000/linuxspe.h index f4e02ebf624..be48fe29acc 100644 --- a/gcc/config/rs6000/linuxspe.h +++ b/gcc/config/rs6000/linuxspe.h @@ -47,16 +47,16 @@ #define SUBSUBTARGET_OVERRIDE_OPTIONS \ if (rs6000_select[1].string == NULL) \ rs6000_cpu = PROCESSOR_PPC8540; \ - if (rs6000_abi_string == NULL || strstr (rs6000_abi_string, "spe") == NULL) \ + if (!rs6000_explicit_options.abi) \ rs6000_spe_abi = 1; \ - if (rs6000_float_gprs_string == NULL) \ + if (!rs6000_explicit_options.float_gprs) \ rs6000_float_gprs = 1; \ /* See note below. */ \ - /*if (rs6000_long_double_size_string == NULL)*/ \ + /*if (!rs6000_explicit_options.long_double)*/ \ /* rs6000_long_double_type_size = 128;*/ \ - if (rs6000_spe_string == NULL) \ + if (!rs6000_explicit_options.spe) \ rs6000_spe = 1; \ - if (rs6000_isel_string == NULL) \ + if (!rs6000_explicit_options.isel) \ rs6000_isel = 1; \ if (target_flags & MASK_64BIT) \ error ("-m64 not supported in this configuration") -- 2.30.2