diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-22 12:46:07 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-22 12:46:07 +0000 |
commit | ac875fa40bf5429aff0612943d8c5705c4e11bb5 (patch) | |
tree | 6254ef8bed13933fcdfb55163f89625f1932c652 /gcc/machmode.h | |
parent | 3efb5d22322a504342153f3d64f1a3a209c3fe40 (diff) | |
download | gcc-ac875fa40bf5429aff0612943d8c5705c4e11bb5.tar.gz |
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
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index 222e6263e0b..8d6ea187b4d 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. */ |