aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/gm2.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc/gm2.texi')
-rw-r--r--gcc/doc/gm2.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/doc/gm2.texi b/gcc/doc/gm2.texi
index cb52e8c..9bd0f0d 100644
--- a/gcc/doc/gm2.texi
+++ b/gcc/doc/gm2.texi
@@ -540,6 +540,9 @@ lines compiled.
@item -fm2-strict-type
experimental flag to turn on the new strict type checker.
+@item -fm2-strict-type-reason
+provides more detail why the types are incompatible.
+
@item -fm2-whole-program
compile all implementation modules and program module at once. Notice
that you need to take care if you are compiling different dialect
@@ -1495,7 +1498,7 @@ from @samp{bad} will cause an overflow to @samp{foo}. If we compile
the code with the following options:
@example
-$ gm2 -g -fsoft-check-all -O2 -c assignvalue.mod
+$ gm2 -g -fsoft-check-all -O2 -fm2-plugin -c assignvalue.mod
assignvalue.mod:16:0:inevitable that this error will occur at run time,
assignment will result in an overflow
@end example