aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-04-22 12:46:07 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-04-22 12:46:07 +0000
commitdbf23a7900dfa15dd4b6cc681c3310ca17276d6a (patch)
tree6254ef8bed13933fcdfb55163f89625f1932c652 /gcc/machmode.h
parentd9f069ab4f645085b7d439e166b7501b9fb6ce8a (diff)
downloadgcc-dbf23a7900dfa15dd4b6cc681c3310ca17276d6a.zip
gcc-dbf23a7900dfa15dd4b6cc681c3310ca17276d6a.tar.gz
gcc-dbf23a7900dfa15dd4b6cc681c3310ca17276d6a.tar.bz2
machmode.h (bitwise_mode_for_mode): Declare.
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. From-SVN: r209622
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r--gcc/machmode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h
index 222e626..8d6ea18 100644
--- a/gcc/machmode.h
+++ b/gcc/machmode.h
@@ -271,6 +271,8 @@ extern enum machine_mode smallest_mode_for_size (unsigned int,
extern enum machine_mode int_mode_for_mode (enum machine_mode);
+extern enum machine_mode bitwise_mode_for_mode (enum machine_mode);
+
/* Return a mode that is suitable for representing a vector,
or BLKmode on failure. */