re PR ada/18817 (ACATS c380004 fails at run time)
authorRoger Sayle <roger@eyesopen.com>
Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)
commit21cc37194e7036e89ac7823a78539056fc802dbb
tree4796e47592741b417d93c1f144383dadbfbfbf74
parent9bdb04a2f5df0bafb2ab16be673febd789c3a487
re PR ada/18817 (ACATS c380004 fails at run time)

PR ada/18817
* utils.c (max_size): Perform constant folding of (A ? B : C) - D
into A ? B - D : C - D when calculating the size of a MINUS_EXPR.

From-SVN: r116964
gcc/ada/ChangeLog
gcc/ada/utils.c
gcc/testsuite/ada/acats/norun.lst