From: Yannick Moy Date: Tue, 8 Feb 2022 17:04:49 +0000 (+0100) Subject: [Ada] Adapt CodePeer analysis of GNAT to changes in dependencies X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcbf83ec10e2ef19d01372ce21fefb3deb3ee8e6;p=platform%2Fupstream%2Fgcc.git [Ada] Adapt CodePeer analysis of GNAT to changes in dependencies New dependencies in s-imagei are causing issues for CodePeer analysis of GNAT source and libs. Updating the setup. gcc/ada/ * libgnat/s-imagef.adb: Justify false message from CodePeer. --- diff --git a/gcc/ada/libgnat/s-imagef.adb b/gcc/ada/libgnat/s-imagef.adb index 2166ece..1007adc 100644 --- a/gcc/ada/libgnat/s-imagef.adb +++ b/gcc/ada/libgnat/s-imagef.adb @@ -433,6 +433,8 @@ package body System.Image_F is Digs (1 .. 2) := " 0"; Ndigs := 2; end if; + pragma Annotate (CodePeer, False_Positive, "test always true", + "no digits were output for zero"); Set_Decimal_Digits (Digs, Ndigs, S, P, Scale, Fore, Aft, Exp); end Set_Image_Fixed;