From: Richard Earnshaw Date: Sat, 23 Jul 2011 14:43:33 +0000 (+0000) Subject: re PR target/49816 (arm.c:3999:12: error: converting 'false' to pointer type 'rtx') X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e01705517ac38e207e8f52610a46ad0c4aca61e0;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4481b4355fd..42bfc5ef3c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-23 Richard Earnshaw + + PR target/49816 + * arm.c (aapcs_vfp_allocate_return_reg): Return NULL on failure. + 2011-07-22 Jason Merrill * doc/invoke.texi (C++ Dialect Options): Document -Wno-narrowing. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 6e2b799fe57..a51c87a078f 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)) {