diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-01-17 13:37:00 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-09 09:27:37 +0000 |
commit | 348931ea3e09cbafa0bbd4dadfb05694aef531c0 (patch) | |
tree | 25eb8585fa75340c6d6d3e772531c547dafec217 /gcc/ada | |
parent | 785b1b5d43be6bbbf38d8c8dc40d6d0c991cf99b (diff) | |
download | gcc-348931ea3e09cbafa0bbd4dadfb05694aef531c0.zip gcc-348931ea3e09cbafa0bbd4dadfb05694aef531c0.tar.gz gcc-348931ea3e09cbafa0bbd4dadfb05694aef531c0.tar.bz2 |
[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.
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/libgnat/s-expmod.adb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ada/libgnat/s-expmod.adb b/gcc/ada/libgnat/s-expmod.adb index 60d86e5..527338d 100644 --- a/gcc/ada/libgnat/s-expmod.adb +++ b/gcc/ada/libgnat/s-expmod.adb @@ -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 |