aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2011-12-06 22:49:57 +0000
committerJoel Sherrill <joel@gcc.gnu.org>2011-12-06 22:49:57 +0000
commitb3dd015a96473e624191e4e5394354ae9ef43d9a (patch)
tree4554426bc37f44f9d13678fa791b2bb2fe08d1df
parenteab47093e25bf60d3524cca09297218ddb71d643 (diff)
downloadgcc-b3dd015a96473e624191e4e5394354ae9ef43d9a.zip
gcc-b3dd015a96473e624191e4e5394354ae9ef43d9a.tar.gz
gcc-b3dd015a96473e624191e4e5394354ae9ef43d9a.tar.bz2
rtems.h: Switch to using global_options_set in SUBSUBTARGET_OVERRIDE_OPTIONS.
2011-12-06 Joel Sherrill <joel.sherrill@oarcorp.com> * config/rs6000/rtems.h: Switch to using global_options_set in SUBSUBTARGET_OVERRIDE_OPTIONS. From-SVN: r182068
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rtems.h22
2 files changed, 16 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2ccfa61..487c45a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * config/rs6000/rtems.h: Switch to using global_options_set
+ in SUBSUBTARGET_OVERRIDE_OPTIONS.
+
2011-12-06 David S. Miller <davem@davemloft.net>
* config/sparc/visintrin.h: Add appropriate __VIS__ cpp protection.
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h
index 7ffdd3e..5641162 100644
--- a/gcc/config/rs6000/rtems.h
+++ b/gcc/config/rs6000/rtems.h
@@ -57,15 +57,15 @@
{ "cpp_os_rtems", CPP_OS_RTEMS_SPEC }
#undef SUBSUBTARGET_OVERRIDE_OPTIONS
-#define SUBSUBTARGET_OVERRIDE_OPTIONS \
- do { \
- if (TARGET_E500) \
- { \
- if (TARGET_HARD_FLOAT && !rs6000_explicit_options.float_gprs) \
- rs6000_float_gprs = 1; \
- if (rs6000_float_gprs != 0 && !rs6000_explicit_options.spe) \
- rs6000_spe = 1; \
- if (rs6000_spe && !rs6000_explicit_options.spe_abi) \
- rs6000_spe_abi = 1; \
- } \
+#define SUBSUBTARGET_OVERRIDE_OPTIONS \
+ do { \
+ if (TARGET_E500) \
+ { \
+ if (TARGET_HARD_FLOAT && !global_options_set.x_rs6000_float_gprs) \
+ rs6000_float_gprs = 1; \
+ if (rs6000_float_gprs != 0 && !global_options_set.x_rs6000_spe) \
+ rs6000_spe = 1; \
+ if (rs6000_spe && !global_options_set.x_rs6000_spe_abi) \
+ rs6000_spe_abi = 1; \
+ } \
} while(0)