trans.c (Call_to_gnu): Remove guard for NULL_EXPR.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 10 Dec 2015 14:06:15 +0000 (14:06 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 10 Dec 2015 14:06:15 +0000 (14:06 +0000)
commitd747d0057c694f600da48ff11a0cf6b10aea9dbf
tree6b85bdf8dd69f0b774a2373b3cacb5e86e94d32a
parent6b4f890601a9bb1ff803cef04ee5779d49befb97
trans.c (Call_to_gnu): Remove guard for NULL_EXPR.

* gcc-interface/trans.c (Call_to_gnu): Remove guard for NULL_EXPR.
* gcc-interface/utils2.c (gnat_rewrite_reference) <ERROR_MARK>: Return
the reference unmodified.
<NULL_EXPR>: New case.  Likewise.

From-SVN: r231513
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/array25.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/array25_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/array25_pkg.ads [new file with mode: 0644]