aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
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.h
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.h')
-rw-r--r--gcc/targhooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index faadd23..9734220 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -181,7 +181,7 @@ extern int default_memory_move_cost (machine_mode, reg_class_t, bool);
extern int default_register_move_cost (machine_mode, reg_class_t,
reg_class_t);
-extern bool default_use_by_pieces_infrastructure_p (unsigned int,
+extern bool default_use_by_pieces_infrastructure_p (unsigned HOST_WIDE_INT,
unsigned int,
enum by_pieces_operation,
bool);