]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] ICE during unnesting when nested subprograms have address taken
authorGary Dismukes <dismukes@adacore.com>
Thu, 19 Dec 2019 22:00:27 +0000 (17:00 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 2 Jun 2020 08:58:15 +0000 (04:58 -0400)
commitd7f696a040a0fd85ea58399836a77f903d6bf039
treec8c8bd155acc6946dbf86f887a7e810882c23961
parent2f0067f47e5531e555c61f2ea9815fe8b088e877
[Ada] ICE during unnesting when nested subprograms have address taken

2020-06-02  Gary Dismukes  <dismukes@adacore.com>

gcc/ada/

* exp_unst.adb (Register_Subprogram): Test for Address_Taken (in
addition to the existing test for In_Synchonized_Unit) when
deciding whether to reset the Reachable flag on all subprograms
enclosing the subprogram being registered.
gcc/ada/exp_unst.adb