]> git.ipfire.org Git - thirdparty/gcc.git/commit
utils.c (maybe_unconstrained_array): In the reference to unconstrained array case...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 11 Sep 2011 19:14:51 +0000 (19:14 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 11 Sep 2011 19:14:51 +0000 (19:14 +0000)
commit7e169899559dd04cbde3bf6e0599720e6918a461
treef19f0298aa8dad59a5d734a4bb0796ab0a2169e7
parent819a653eee396dc4db95ddc3c87805acab08c2de
utils.c (maybe_unconstrained_array): In the reference to unconstrained array case, deal with each branch of a COND_EXPR.

* gcc-interface/utils.c (maybe_unconstrained_array): In the reference
to unconstrained array case, deal with each branch of a COND_EXPR.
* gcc-interface/utils2.c (build_allocator): Deal with each branch of
a COND_EXPR in the initializer, if present.

From-SVN: r178766
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/ada/gcc-interface/utils2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/cond_expr2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/cond_expr2.ads [new file with mode: 0644]