arm.c (use_vfp_abi): Add sorry() for Thumb-1 hard-float ABI.

2010-06-15  Paul Brook  <paul@codesourcery.com>
 
	gcc/
	* config/arm/arm.c (use_vfp_abi): Add sorry() for Thumb-1
	hard-float ABI.

From-SVN: r160785
This commit is contained in:
Paul Brook 2010-06-15 13:44:51 +00:00 committed by Paul Brook
parent eff7e30c88
commit 50416c61c4
2 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-06-15 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (use_vfp_abi): Add sorry() for Thumb-1
hard-float ABI.
2010-06-15 Alexandre Oliva <aoliva@redhat.com>
* tree-vect-patterns.c (vect_pattern_recog_1): Bail out if we

View file

@ -3821,7 +3821,18 @@ static bool
use_vfp_abi (enum arm_pcs pcs_variant, bool is_double)
{
if (pcs_variant == ARM_PCS_AAPCS_VFP)
return true;
{
static bool seen_thumb1_vfp = false;
if (TARGET_THUMB1 && !seen_thumb1_vfp)
{
sorry ("Thumb-1 hard-float VFP ABI");
/* sorry() is not immediately fatal, so only display this once. */
seen_thumb1_vfp = true;
}
return true;
}
if (pcs_variant != ARM_PCS_AAPCS_LOCAL)
return false;