fold-const.c (fold_unary): Fold the cast into a BIT_AND_EXPR only for an INTEGER_TYPE.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 17 May 2008 13:06:21 +0000 (13:06 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 17 May 2008 13:06:21 +0000 (13:06 +0000)
commit1e17e15ae532b05910a7fc0c599a01839dd1b032
treea24b798aed2e282c91f6d71952eb3bd67579425e
parent74c11a6c4d7b55e0e903a99fe58dfd491ce4fc2c
fold-const.c (fold_unary): Fold the cast into a BIT_AND_EXPR only for an INTEGER_TYPE.

* fold-const.c (fold_unary) <CASE_CONVERT>: Fold the cast into
a BIT_AND_EXPR only for an INTEGER_TYPE.

From-SVN: r135467
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/bit_packed_array3.adb [new file with mode: 0644]