[Ada] Tweak the warning about missing local raises
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 7 Oct 2021 15:34:21 +0000 (17:34 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 11 Oct 2021 13:38:13 +0000 (13:38 +0000)
commit4a0d6b70e3877728772b177e35b0a429d5501698
tree45810f3bc67f9a875ba991b8e08fd1e1be40a2e1
parent5ea133c6ce09fbeeec91457a38689cdac7c05d91
[Ada] Tweak the warning about missing local raises

gcc/ada/

* gcc-interface/trans.c (gnat_to_gnu) <N_Pop_Constraint_Error_Label>:
Given the warning only if No_Exception_Propagation is active.
<N_Pop_Storage_Error_Label>: Likewise.
<N_Pop_Program_Error_Label>: Likewise.
gcc/ada/gcc-interface/trans.c