[Ada] Fix immediate assertion failure with -gnatd.1
commit643ae816f17745a77b62188b6bf169211609a59b
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 1 Sep 2022 14:21:07 +0000 (1 16:21 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 12 Sep 2022 08:16:53 +0000 (12 10:16 +0200)
tree75ee85898298d81a7bfba9192e7824511330b3d0
parent60bb81e0db60f1a0f6be8ece24a05052aba21b20
[Ada] Fix immediate assertion failure with -gnatd.1

The switch enables the front-end unnesting pass.

gcc/ada/

* gcc-interface/decl.cc (gnat_to_gnu_entity): Relax assertion when
front-end unnesting is enabled.
gcc/ada/gcc-interface/decl.cc