diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-01-24 16:54:23 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-01-24 16:54:23 +0000 |
commit | 01f4962dee9caa55a559da9c7d1aa495f9d23746 (patch) | |
tree | 1447ae95bf026c173666e0b56250baa5d276cfac | |
parent | 70b9185438f2d72a6aa536e67e1b8ebc49e80990 (diff) | |
download | gcc-01f4962dee9caa55a559da9c7d1aa495f9d23746.zip gcc-01f4962dee9caa55a559da9c7d1aa495f9d23746.tar.gz gcc-01f4962dee9caa55a559da9c7d1aa495f9d23746.tar.bz2 |
rs6000.c (rs6000_parse_abi_options): Make sure spe ABI is configured, if requested.
* config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
spe ABI is configured, if requested.
From-SVN: r61712
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3684fa5..befde2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-24 Nathan Sidwell <nathan@codesourcery.com> + + * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure + spe ABI is configured, if requested. + 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de> * doc/passes.texi: Fix typo. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 8e7160f..b51ad91 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -777,7 +777,12 @@ rs6000_parse_abi_options () else if (! strcmp (rs6000_abi_string, "no-altivec")) rs6000_altivec_abi = 0; else if (! strcmp (rs6000_abi_string, "spe")) - rs6000_spe_abi = 1; + { + rs6000_spe_abi = 1; + if (!TARGET_SPE_ABI) + error ("not configured for ABI: '%s'", rs6000_abi_string); + } + else if (! strcmp (rs6000_abi_string, "no-spe")) rs6000_spe_abi = 0; else |