utils.c (max_size): Flip the second argument when recursing on TRUTH_NOT_EXPR.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Feb 2017 09:52:31 +0000 (09:52 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 24 Feb 2017 09:52:31 +0000 (09:52 +0000)
commit4af362a9571170538b66411d9cf7b6dc87745854
tree4e11ad6a8fff3dcbb48957205294ecfe46ca34d8
parent7699e88f68de2f5488ad260fdd35ee3a2b910014
utils.c (max_size): Flip the second argument when recursing on TRUTH_NOT_EXPR.

* gcc-interface/utils.c (max_size) <tcc_expression>: Flip the second
argument when recursing on TRUTH_NOT_EXPR.

From-SVN: r245697
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr47.adb [new file with mode: 0644]