[Ada] Set convention and inlined flag on default null procedure
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 23 Jan 2020 20:52:19 +0000 (21:52 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 4 Jun 2020 09:11:05 +0000 (05:11 -0400)
commitd2f87b22d1e47859166efc90eda830d21a0c31b9
treed5d1a2a010403c4c1022050da1c3aa46bb95eb62
parenta0c94bd34a4ed6b8239d9a6d749ad5c94022acff
[Ada] Set convention and inlined flag on default null procedure

2020-06-04  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* sem_attr.adb (Resolve_Attribute) <Access>: Do not generate
the secondary message about a missing pragma if the convention
of the prefix is Intrinsic.
* sem_ch12.adb (Instantiate_Formal_Subprogram): Only set the
Convention and the Is_Inlined flag on a null procedure.
gcc/ada/sem_attr.adb
gcc/ada/sem_ch12.adb