summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linuxspe.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/linuxspe.h')
-rw-r--r--gcc/config/rs6000/linuxspe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/linuxspe.h b/gcc/config/rs6000/linuxspe.h
index a5d048cca79..8b95d25ff5b 100644
--- a/gcc/config/rs6000/linuxspe.h
+++ b/gcc/config/rs6000/linuxspe.h
@@ -26,7 +26,7 @@
#undef SUBSUBTARGET_OVERRIDE_OPTIONS
#define SUBSUBTARGET_OVERRIDE_OPTIONS \
- if (rs6000_select[1].string == NULL) \
+ if (!global_options_set.x_rs6000_cpu_index) \
rs6000_cpu = PROCESSOR_PPC8540; \
if (!global_options_set.x_rs6000_spe_abi) \
rs6000_spe_abi = 1; \