diff options
| author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 16:54:23 +0000 |
|---|---|---|
| committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 16:54:23 +0000 |
| commit | 6ef250c448128c2a651de9a034ae000de9204aa3 (patch) | |
| tree | 1447ae95bf026c173666e0b56250baa5d276cfac | |
| parent | d0b7f2fdcbafd571567c6e057de939fc1375e1c9 (diff) | |
| download | ppe42-gcc-6ef250c448128c2a651de9a034ae000de9204aa3.tar.gz ppe42-gcc-6ef250c448128c2a651de9a034ae000de9204aa3.zip | |
* config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
spe ABI is configured, if requested.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61712 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 3684fa588bd..befde2e1760 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 8e7160f7fa0..b51ad91167b 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 |

