OSDN Git Service

PR middle-end/39986
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 May 2009 16:59:53 +0000 (16:59 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 May 2009 16:59:53 +0000 (16:59 +0000)
commitb0090d524a41163fcf8bbc16fdf36299b5f30d8c
tree928ac88253beb44b86c88a28f7a5efaf4bc5f574
parent8fb8ca176f2e3fbc6adf76b6e4ba926f81b84d25
PR middle-end/39986
* dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
decode_decimal64, encode_decimal128, decode_decimal128): Avoid
32-bit memcpy into long.

* gcc.dg/dfp/pr39986.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147188 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dfp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/pr39986.c [new file with mode: 0644]