aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2011-07-23 14:43:33 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2011-07-23 14:43:33 +0000
commite01705517ac38e207e8f52610a46ad0c4aca61e0 (patch)
treea3fcba4becd492a8e36020afadaa7bbe8bca2766
parent53390685bd7937bba38a13ca9c04dfd89a8c193f (diff)
downloadgcc-e01705517ac38e207e8f52610a46ad0c4aca61e0.zip
gcc-e01705517ac38e207e8f52610a46ad0c4aca61e0.tar.gz
gcc-e01705517ac38e207e8f52610a46ad0c4aca61e0.tar.bz2
re PR target/49816 (arm.c:3999:12: error: converting 'false' to pointer type 'rtx')
PR target/49816 * arm.c (aapcs_vfp_allocate_return_reg): Return NULL on failure. From-SVN: r176687
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4481b43..42bfc5e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-23 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/49816
+ * arm.c (aapcs_vfp_allocate_return_reg): Return NULL on failure.
+
2011-07-22 Jason Merrill <jason@redhat.com>
* doc/invoke.texi (C++ Dialect Options): Document -Wno-narrowing.
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 6e2b799..a51c87a 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -3996,7 +3996,7 @@ aapcs_vfp_allocate_return_reg (enum arm_pcs pcs_variant ATTRIBUTE_UNUSED,
const_tree type ATTRIBUTE_UNUSED)
{
if (!use_vfp_abi (pcs_variant, false))
- return false;
+ return NULL;
if (mode == BLKmode || (mode == TImode && !TARGET_NEON))
{