decl.c (gnat_to_gnu_subprog_type): Build only a minimal PARM_DECL when the parameter...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 13 Jun 2016 08:17:07 +0000 (08:17 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 13 Jun 2016 08:17:07 +0000 (08:17 +0000)
commit7cdb687133520d1091198e034398df3cec0c8ae1
treed1c9e2f79e0a5b29479f21ee3e9011d56648faad
parent42e77cbc7d5c00e637bca5614a8d688ad08a39c7
decl.c (gnat_to_gnu_subprog_type): Build only a minimal PARM_DECL when the parameter type is dummy.

* gcc-interface/decl.c (gnat_to_gnu_subprog_type): Build only a minimal
PARM_DECL when the parameter type is dummy.
* gcc-interface/trans.c (Call_to_gnu): Translate formal types before
formal objects.

From-SVN: r237362
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c