trans.c (gnat_gimplify_expr): Add 'type' variable.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 22 Nov 2014 12:15:53 +0000 (12:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 22 Nov 2014 12:15:53 +0000 (12:15 +0000)
commit5e0f1fca62d34663d2e2040c61d711c09fa9762d
tree6ea64f4202d256fa9c39da415ea3c008c7f9f3ab
parent0211f6178ac3f9b16aeaed322a70df6fe458472b
trans.c (gnat_gimplify_expr): Add 'type' variable.

* gcc-interface/trans.c (gnat_gimplify_expr): Add 'type' variable.
<case NULL_EXPR>: Deal with unconstrained array types and use 'type'.
<case ADDR_EXPR>: Use 'type'.
<case DECL_EXPR>: Likewise.

From-SVN: r217964
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/no_streams.ads [new file with mode: 0644]