]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Restore context on failure in loading of renamed child unit
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 25 May 2021 15:39:26 +0000 (17:39 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 8 Jul 2021 13:34:20 +0000 (13:34 +0000)
commite581fbeab695838c3e36bf31072c1dad11d9f81b
tree92eae1315eac7806e9ada3955d6d17bc7e98dd89
parentdf0783f81ca9aca026a1db3b81080a8756c6166e
[Ada] Restore context on failure in loading of renamed child unit

gcc/ada/

* lib-load.adb (Load): Replace early return with goto to properly
restore context on failure.
gcc/ada/lib-load.adb