From ac875fa40bf5429aff0612943d8c5705c4e11bb5 Mon Sep 17 00:00:00 2001 From: rsandifo Date: Tue, 22 Apr 2014 12:46:07 +0000 Subject: gcc/ * machmode.h (bitwise_mode_for_mode): Declare. * stor-layout.h (bitwise_type_for_mode): Likewise. * stor-layout.c (bitwise_mode_for_mode): New function. (bitwise_type_for_mode): Likewise. * builtins.c (fold_builtin_memory_op): Use it instead of int_mode_for_mode and build_nonstandard_integer_type. gcc/testsuite/ * gcc.dg/memcpy-5.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209622 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/stor-layout.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/stor-layout.h') diff --git a/gcc/stor-layout.h b/gcc/stor-layout.h index 74a2c6c4412..e2f800d3b76 100644 --- a/gcc/stor-layout.h +++ b/gcc/stor-layout.h @@ -98,6 +98,8 @@ extern tree make_unsigned_type (int); mode_for_size, but is passed a tree. */ extern enum machine_mode mode_for_size_tree (const_tree, enum mode_class, int); +extern tree bitwise_type_for_mode (enum machine_mode); + /* Given a VAR_DECL, PARM_DECL or RESULT_DECL, clears the results of a previous call to layout_decl and calls it again. */ extern void relayout_decl (tree); -- cgit v1.2.1