sem_elab.adb (In_Preelaborated_Context): A generic package subject to Remote_Call_Int...
authorHristian Kirtchev <kirtchev@adacore.com>
Sat, 14 Oct 2017 17:17:41 +0000 (17:17 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Sat, 14 Oct 2017 17:17:41 +0000 (17:17 +0000)
commit0fcd7270b6fb2fbb5ec72671374b17d3db531151
treee6e189f31ec835d26709dbdbb664de99cc3a592a
parent92b751fdc698c7b2040f986aaa125e4163003a2d
sem_elab.adb (In_Preelaborated_Context): A generic package subject to Remote_Call_Interface is not a suitable...

gcc/ada/

2017-10-14  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_elab.adb (In_Preelaborated_Context): A generic package subject to
Remote_Call_Interface is not a suitable preelaboratd context when the
call appears in the package body.

gcc/testsuite/

2017-10-14  Hristian Kirtchev  <kirtchev@adacore.com>

* gnat.dg/remote_call_iface.ads, gnat.dg/remote_call_iface.adb: New
testcase.

From-SVN: r253758
gcc/ada/ChangeLog
gcc/ada/sem_elab.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/remote_call_iface.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/remote_call_iface.ads [new file with mode: 0644]