Detect illegal conditions in Raise_xxx_Error nodes
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 21 May 2021 09:30:26 +0000 (11:30 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Fri, 21 May 2021 09:31:46 +0000 (11:31 +0200)
commit6fdacaf4b00619ad139ecf101cbb0136dcdd8c3a
tree13d66265674d1c3dc240393e66ae4c2509232aa4
parent745dae5923aba02982563481d75a21595df22ff8
Detect illegal conditions in Raise_xxx_Error nodes

Enforce comment from sinfo.ads about the Condition field in N_Raise_xxx_Error
nodes. Only an extra sanity check; the behaviour is not affected.

gcc/ada/
* gcc-interface/trans.c (Raise_Error_to_gnu): Add an assertion.
gcc/ada/gcc-interface/trans.c