]> git.ipfire.org Git - thirdparty/gcc.git/commit
machmode.h (bitwise_mode_for_mode): Declare.
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 22 Apr 2014 12:46:07 +0000 (12:46 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 22 Apr 2014 12:46:07 +0000 (12:46 +0000)
commitdbf23a7900dfa15dd4b6cc681c3310ca17276d6a
tree6254ef8bed13933fcdfb55163f89625f1932c652
parentd9f069ab4f645085b7d439e166b7501b9fb6ce8a
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
gcc/ChangeLog
gcc/builtins.c
gcc/machmode.h
gcc/stor-layout.c
gcc/stor-layout.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/memcpy-5.c [new file with mode: 0644]