gcc/ada/
* atree.adb (Print_Statistics): Help CodePeer see Total as
greater than zero.
* gen_il-gen.adb (One_Comp): Annotate Field_Table as Modified.
Total := G_Total + S_Total;
end loop;
+ -- This assertion helps CodePeer understand that Total cannot be 0 (this
+ -- is true because GNAT does not attempt to compile empty files).
+ pragma Assert (Total > 0);
+
Write_Int_64 (Total);
Write_Str (" (100%) = ");
Write_Int_64 (G_Total);
procedure One_Comp (F : Field_Enum);
procedure One_Comp (F : Field_Enum) is
+ pragma Annotate (Codepeer, Modified, Field_Table);
Offset : constant Field_Offset := Field_Table (F).Offset;
begin
if First_Time then