diff options
author | Richard Guenther <rguenther@suse.de> | 2008-05-08 12:25:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-05-08 12:25:39 +0000 |
commit | e8d6aaee64a7302901510db5646f1cff2284d95c (patch) | |
tree | 8791f37d991d4d480f9b93d51ff84f696b9afa6e /gcc/config/i386/i386.c | |
parent | 033df0b9d2a1c7488bca6c4d2d42ce1acc05eb85 (diff) | |
download | gcc-e8d6aaee64a7302901510db5646f1cff2284d95c.zip gcc-e8d6aaee64a7302901510db5646f1cff2284d95c.tar.gz gcc-e8d6aaee64a7302901510db5646f1cff2284d95c.tar.bz2 |
i386-protos.h (ix86_return_in_memory): Adjust return type to bool.
2008-05-08 Richard Guenther <rguenther@suse.de>
* config/i386/i386-protos.h (ix86_return_in_memory): Adjust
return type to bool.
(ix86_sol10_return_in_memory): Likewise.
(ix86_i386elf_return_in_memory): Likewise.
(ix86_i386interix_return_in_memory): Likewise.
* config/i386/i386.c (ix86_return_in_memory): Likewise.
(ix86_sol10_return_in_memory): Likewise.
(ix86_i386elf_return_in_memory): Likewise.
(ix86_i386interix_return_in_memory): Likewise.
From-SVN: r135080
Diffstat (limited to 'gcc/config/i386/i386.c')
-rw-r--r-- | gcc/config/i386/i386.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 0cb337f..4d6349c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4901,7 +4901,7 @@ return_in_memory_ms_64 (const_tree type, enum machine_mode mode) return (size != 1 && size != 2 && size != 4 && size != 8); } -int +bool ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) { const enum machine_mode mode = type_natural_mode (type); @@ -4919,7 +4919,7 @@ ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) but differs notably in that when MMX is available, 8-byte vectors are returned in memory, rather than in MMX registers. */ -int +bool ix86_sol10_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) { int size; @@ -4951,14 +4951,14 @@ ix86_sol10_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED return size > 12; } -int +bool ix86_i386elf_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) { return (TYPE_MODE (type) == BLKmode || (VECTOR_MODE_P (TYPE_MODE (type)) && int_size_in_bytes (type) == 8)); } -int +bool ix86_i386interix_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) { return (TYPE_MODE (type) == BLKmode |