diff options
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r-- | gcc/ada/gnat_ugn.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index c9951b78b0e..4d0c01c335c 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -5472,7 +5472,9 @@ This switch activates warnings for modulus values that seem suspicious. The cases caught are where the size is the same as the modulus (e.g. a modulus of 7 with a size of 7 bits), and modulus values of 32 or 64 with no size clause. The guess in both cases is that 2**x was intended -rather than x. The default is that these warnings are given. +rather than x. In addition expressions of the form 2*x for small x +generate a warning (the almost certainly accurate guess being that +2**x was intended). The default is that these warnings are given. @item -gnatw.M @emph{Disable warnings on suspicious modulus values.} |