+2014-10-09 Marek Polacek <polacek@redhat.com>
+
+ * doc/invoke.texi: Document -fsanitize=bool and -fsanitize=enum.
+
2014-10-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/61969
marked with @code{returns_nonnull} function attribute, to detect returning
of null values from such functions.
+@item -fsanitize=bool
+@opindex fsanitize=bool
+
+This option enables instrumentation of loads from bool. If a value other
+than 0/1 is loaded, a run-time error is issued.
+
+@item -fsanitize=enum
+@opindex fsanitize=enum
+
+This option enables instrumentation of loads from an enum type. If
+a value outside the range of values for the enum type is loaded,
+a run-time error is issued.
+
@end table
While @option{-ftrapv} causes traps for signed overflows to be emitted,