2011-05-27 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 13:13:28 +0000 (13:13 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 13:13:28 +0000 (13:13 +0000)
commitca356addae64845ddaa7af2c2aef23c99fb48151
tree5a01789e8423444f6b3623d0f6a43454d41ffb54
parent52d7e28c26c1f136df0ee1a1993c9be371d52462
2011-05-27  Richard Guenther  <rguenther@suse.de>

PR middle-end/49189
* fold-const.c (fold_unary_loc): Do not re-fold folding conversions
of comparisons.

* gnat.dg/bit_packed_array5.adb: New testcase.
* gnat.dg/bit_packed_array5.ads: Likewise.

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