trans.c (can_equal_min_or_max_val_p): Be prepared for values outside of the range...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 13 Aug 2013 15:52:26 +0000 (15:52 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 13 Aug 2013 15:52:26 +0000 (15:52 +0000)
commit2efdbf0f3c085ca257f06acf045a8d9e8586df04
tree69698594f1d05668a52f209986e0400e4a090892
parentb5f8f063a79bbaba332a255da3c59cfb50522641
trans.c (can_equal_min_or_max_val_p): Be prepared for values outside of the range of the type.

* gcc-interface/trans.c (can_equal_min_or_max_val_p): Be prepared for
values outside of the range of the type.

From-SVN: r201692
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/loop_optimization16.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization16_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization16_pkg.ads [new file with mode: 0644]