fold-const.c (build_range_check): Properly deal with enumeral and boolean base types.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 12 Apr 2009 21:39:39 +0000 (21:39 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 12 Apr 2009 21:39:39 +0000 (21:39 +0000)
commit849d624b4a81f4dc9546e29571c970994dc935ed
tree3526746cc33223821d95bafdc40b7cb9e1597f03
parent3906a4a1bc19a4618625cfa6064d647cd7d78686
fold-const.c (build_range_check): Properly deal with enumeral and boolean base types.

* fold-const.c (build_range_check): Properly deal with enumeral and
boolean base types.

From-SVN: r145988
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/enum1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/enum1_pkg.ads [new file with mode: 0644]