From 397d79f2fb1078e95527e984fd6df47a4faae6e4 Mon Sep 17 00:00:00 2001 From: rearnsha Date: Sat, 23 Jul 2011 14:43:33 +0000 Subject: [PATCH] PR target/49816 * arm.c (aapcs_vfp_allocate_return_reg): Return NULL on failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176687 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)) { -- 2.11.4.GIT