OSDN Git Service

* fold-const.c (build_range_check): Properly deal with enumeral and
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Apr 2009 21:39:39 +0000 (21:39 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Apr 2009 21:39:39 +0000 (21:39 +0000)
commitf2143b567f73be2638c7a1e5abd0e8e5aeacb016
tree3526746cc33223821d95bafdc40b7cb9e1597f03
parentd45a307dbf6cec2e6d77d1a81e19307fa5bc96d6
* fold-const.c (build_range_check): Properly deal with enumeral and
boolean base types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145988 138bc75d-0d04-0410-961f-82ee72b054a4
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]