http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59257
Bug ID: 59257
Summary: usan/*san: Dpcumentation oddness of -fsanitize= /
-fsanitize=shift
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: jakub at gcc dot gnu.org, mpolacek at gcc dot gnu.org
Regarding -fsanitize=*
That option does not appear in
http://gcc.gnu.org/onlinedocs/gcc/Option-Index.html but I think it should.
Actually, I think several other options miss a @opindex entry, too.
Additionally, in the man page, I get:
-fsanitize=undefined
Enable UndefinedBehaviorSanitizer, a fast undefined
behavior detector. Various computations will be
instrumented to detect undefined behavior at runtime.
Current suboptions are:
*<-fsanitize=shift>
This option enables checking that the result of a
The < > look odd.
In invoke.texi, one has:
@item -fsanitize=undefined
...
@item @option{-fsanitize=shift}
Maybe there shouldn't be an @option{}?
It does look okay at http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html