OSDN Git Service

PR ada/33788
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jan 2008 22:39:49 +0000 (22:39 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jan 2008 22:39:49 +0000 (22:39 +0000)
commit134ae6135511f464d5f92848959581ad64f1d36e
tree9fbe6956653b449d127488655bf8fc317363e50d
parentf9f517cc36ca66e2fd4b51d6d179479f252051df
PR ada/33788
* fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
NOP_EXPR if it is between integral types with the same precision.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131493 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/utils.c
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/bit_packed_array.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/bit_packed_array.ads [new file with mode: 0644]