arm.c (arm_return_in_memory): Fix return type.

2008-05-15  Diego Novillo  <dnovillo@google.com>

	* config/arm/arm.c (arm_return_in_memory): Fix return
	type.
	* config/arm/arm-protos.h (arm_return_in_memory): Likewise.

From-SVN: r135393
This commit is contained in:
Diego Novillo 2008-05-15 16:07:11 -04:00
parent 36dafbd1f1
commit f4dea66f0a
3 changed files with 15 additions and 9 deletions

View File

@ -1,13 +1,19 @@
2008-05-15 Diego Novillo <dnovillo@google.com>
* 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 <anemet@caviumnetworks.com>
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 <janis187@us.ibm.com>

View File

@ -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);

View File

@ -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;