public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6396] [Ada] Remove CodePeer annotations for pragma Loop_Variant
@ 2022-01-10 9:40 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-01-10 9:40 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:888fb69365c64ca5dbd4815d7451c35014d264b5
commit r12-6396-g888fb69365c64ca5dbd4815d7451c35014d264b5
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Thu Dec 30 13:15:56 2021 +0100
[Ada] Remove CodePeer annotations for pragma Loop_Variant
gcc/ada/
* libgnat/s-exponn.adb, libgnat/s-expont.adb,
libgnat/s-exponu.adb, libgnat/s-widthi.adb,
libgnat/s-widthu.adb: Remove CodePeer annotations for pragma
Loop_Variant.
Diff:
---
gcc/ada/libgnat/s-exponn.adb | 3 ---
gcc/ada/libgnat/s-expont.adb | 3 ---
gcc/ada/libgnat/s-exponu.adb | 3 ---
gcc/ada/libgnat/s-widthi.adb | 3 ---
gcc/ada/libgnat/s-widthu.adb | 3 ---
5 files changed, 15 deletions(-)
diff --git a/gcc/ada/libgnat/s-exponn.adb b/gcc/ada/libgnat/s-exponn.adb
index 7e876d3a99b..e7fc40c3f37 100644
--- a/gcc/ada/libgnat/s-exponn.adb
+++ b/gcc/ada/libgnat/s-exponn.adb
@@ -130,9 +130,6 @@ is
pragma Loop_Invariant
(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
declare
diff --git a/gcc/ada/libgnat/s-expont.adb b/gcc/ada/libgnat/s-expont.adb
index dc1586b4c23..e60d55c1009 100644
--- a/gcc/ada/libgnat/s-expont.adb
+++ b/gcc/ada/libgnat/s-expont.adb
@@ -130,9 +130,6 @@ is
pragma Loop_Invariant
(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
declare
diff --git a/gcc/ada/libgnat/s-exponu.adb b/gcc/ada/libgnat/s-exponu.adb
index 2885d6b4f19..06ed5099c25 100644
--- a/gcc/ada/libgnat/s-exponu.adb
+++ b/gcc/ada/libgnat/s-exponu.adb
@@ -64,9 +64,6 @@ begin
pragma Loop_Invariant (Exp > 0);
pragma Loop_Invariant (Result * Factor ** Exp = 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
diff --git a/gcc/ada/libgnat/s-widthi.adb b/gcc/ada/libgnat/s-widthi.adb
index e47c8c13f27..55a94ecfc10 100644
--- a/gcc/ada/libgnat/s-widthi.adb
+++ b/gcc/ada/libgnat/s-widthi.adb
@@ -163,9 +163,6 @@ begin
pragma Loop_Invariant (Pow = Big_10 ** (W - 2));
pragma Loop_Invariant (Big (T) = Big (T_Init) / Pow);
pragma Loop_Variant (Decreases => T);
- pragma Annotate
- (CodePeer, False_Positive,
- "validity check", "confusion on generated code");
end loop;
declare
diff --git a/gcc/ada/libgnat/s-widthu.adb b/gcc/ada/libgnat/s-widthu.adb
index 0be44ffe6b9..72045cb9294 100644
--- a/gcc/ada/libgnat/s-widthu.adb
+++ b/gcc/ada/libgnat/s-widthu.adb
@@ -156,9 +156,6 @@ begin
pragma Loop_Invariant (Pow = Big_10 ** (W - 2));
pragma Loop_Invariant (Big (T) = Big (T_Init) / Pow);
pragma Loop_Variant (Decreases => T);
- pragma Annotate
- (CodePeer, False_Positive,
- "validity check", "confusion on generated code");
end loop;
declare
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-10 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 9:40 [gcc r12-6396] [Ada] Remove CodePeer annotations for pragma Loop_Variant Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).