CodePeer is correctly warning on a test always true in an assertion.
It can be rewritten without loss of proof to avoid that message.
gcc/ada/
* libgnat/s-aridou.adb (Lemma_Powers_Of_2_Commutation): Rewrite
assertion.
pragma Assert (Big (Double_Uns'(2))**M = Big_2xx (M));
end if;
else
- pragma Assert
- (Big (Double_Uns'(2))**M =
- (if M < Double_Size then Big_2xx (M) else Big_2xxDouble));
+ pragma Assert (Big (Double_Uns'(2))**M = Big_2xx (M));
end if;
end Lemma_Powers_Of_2_Commutation;