Fix missing back-annotation for Out parameter
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 9 May 2020 20:26:25 +0000 (22:26 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 9 May 2020 20:26:25 +0000 (22:26 +0200)
commit40bd5a536257aabc0f3899d661debc13dee18d75
treecc8cb2e0963bc489ff841d475e35652536c79a93
parentad00a297ec4236b327430c171dfbe7587901ffd7
Fix missing back-annotation for Out parameter

This happens when it is passed by copy and not passed in.

* gcc-interface/decl.c (gnat_to_gnu_param): Also back-annotate the
mechanism in the case of an Out parameter only passed by copy-out.
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c