aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2014-11-18 22:45:21 +0000
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>2014-11-18 22:45:21 +0000
commit445d78261c0eada051247595f15d28a72ad4fc54 (patch)
tree4c0a8c365b4778e59a19fe154bd45e4a651be7d8 /gcc/targhooks.c
parentc39a5e99829ae233bd3e8ee89a6b7d986adbb1c8 (diff)
downloadgcc-445d78261c0eada051247595f15d28a72ad4fc54.zip
gcc-445d78261c0eada051247595f15d28a72ad4fc54.tar.gz
gcc-445d78261c0eada051247595f15d28a72ad4fc54.tar.bz2
[Patch] PR target/63937 TARGET_USE_BY_PIECES_INFRASTRUCTURE_P should take an unsigned HOST_WIDE_INT size argument
gcc/ PR target/63937 * target.def (use_by_pieces_infrastructure_p): Take unsigned HOST_WIDE_INT as the size parameter. * targhooks.c (default_use_by_pieces_infrastructure_p): Likewise. * targhooks.h (default_use_by_pieces_infrastructure_p): Likewise. * config/arc/arc.c (arc_use_by_pieces_infrastructure_p)): Likewise. * config/mips/mips.c (mips_use_by_pieces_infrastructure_p)): Likewise. * config/s390/s390.c (s390_use_by_pieces_infrastructure_p)): Likewise. * config/sh/sh.c (sh_use_by_pieces_infrastructure_p)): Likewise. * config/aarch64/aarch64.c (aarch64_use_by_pieces_infrastructure_p)): Likewise. * doc/tm.texi: Regenerate. gcc/testsuite/ PR target/63937 * gcc.dg/memset-2.c: New. From-SVN: r217742
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 7b1b5dc..bef1887 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -1430,7 +1430,7 @@ get_move_ratio (bool speed_p ATTRIBUTE_UNUSED)
a call to memcpy emitted. */
bool
-default_use_by_pieces_infrastructure_p (unsigned int size,
+default_use_by_pieces_infrastructure_p (unsigned HOST_WIDE_INT size,
unsigned int alignment,
enum by_pieces_operation op,
bool speed_p)