diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2011-07-23 14:43:33 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2011-07-23 14:43:33 +0000 |
commit | e01705517ac38e207e8f52610a46ad0c4aca61e0 (patch) | |
tree | a3fcba4becd492a8e36020afadaa7bbe8bca2766 | |
parent | 53390685bd7937bba38a13ca9c04dfd89a8c193f (diff) | |
download | gcc-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/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
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)) { |