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
This commit is contained in:
Nathan Sidwell 2003-01-24 16:54:23 +00:00 committed by Nathan Sidwell
parent 70b9185438
commit 01f4962dee
2 changed files with 11 additions and 1 deletions

View File

@ -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.

View File

@ -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