[Ada] Remove CodePeer annotations for pragma Loop_Variant

Pragma Loop_Variant is now expanded into a null statement in CodePeer
mode. Remove annotation related to false positives in runtime units.

gcc/ada/

	* libgnat/s-expmod.adb: Remove CodePeer annotation for pragma
	Loop_Variant.
This commit is contained in:
Piotr Trojanek 2022-01-17 13:37:00 +01:00 committed by Pierre-Marie de Rodat
parent 785b1b5d43
commit 348931ea3e

View file

@ -251,9 +251,6 @@ is
pragma Loop_Invariant (Equal_Modulo
(Big (Result) * Big (Factor) ** Exp, Big (Left) ** Right));
pragma Loop_Variant (Decreases => Exp);
pragma Annotate
(CodePeer, False_Positive,
"validity check", "confusion on generated code");
if Exp rem 2 /= 0 then
pragma Assert