From f4dea66f0ad0a596ca477777a952148e58cd5319 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Thu, 15 May 2008 16:07:11 -0400 Subject: [PATCH] arm.c (arm_return_in_memory): Fix return type. 2008-05-15 Diego Novillo * config/arm/arm.c (arm_return_in_memory): Fix return type. * config/arm/arm-protos.h (arm_return_in_memory): Likewise. From-SVN: r135393 --- gcc/ChangeLog | 20 +++++++++++++------- gcc/config/arm/arm-protos.h | 2 +- gcc/config/arm/arm.c | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fbdd78fa922..3d892f63f2f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,13 +1,19 @@ +2008-05-15 Diego Novillo + + * config/arm/arm.c (arm_return_in_memory): Fix return + type. + * config/arm/arm-protos.h (arm_return_in_memory): Likewise. + 2008-05-15 Adam Nemet PR middle-end/36194 - * combine.c (check_conversion): Rename back to check_promoted_subreg. - Don't call record_truncated_value from here. - (record_truncated_value): Turn it into a for_each_rtx callback. - (record_truncated_values): New function. - (combine_instructions): Call note_uses with - record_truncated_values. Change name of check_conversion to - check_promoted_subreg. + * combine.c (check_conversion): Rename back to check_promoted_subreg. + Don't call record_truncated_value from here. + (record_truncated_value): Turn it into a for_each_rtx callback. + (record_truncated_values): New function. + (combine_instructions): Call note_uses with + record_truncated_values. Change name of check_conversion to + check_promoted_subreg. 2008-05-15 Janis Johnson diff --git a/gcc/config/arm/arm-protos.h b/gcc/config/arm/arm-protos.h index e4540ec125d..1dbd3a18d2a 100644 --- a/gcc/config/arm/arm-protos.h +++ b/gcc/config/arm/arm-protos.h @@ -43,7 +43,7 @@ extern void arm_output_fn_unwind (FILE *, bool); #ifdef TREE_CODE -extern int arm_return_in_memory (const_tree, const_tree); +extern bool arm_return_in_memory (const_tree, const_tree); #endif #ifdef RTX_CODE extern bool arm_vector_mode_supported_p (enum machine_mode); diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 3a8117288a6..1c7002b8be4 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2737,7 +2737,7 @@ arm_apply_result_size (void) /* Decide whether a type should be returned in memory (true) or in a register (false). This is called by the macro TARGET_RETURN_IN_MEMORY. */ -int +bool arm_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) { HOST_WIDE_INT size; -- 2.30.2