[Bug driver/98162] New: Documentation mentions non-existent option -mcet

bruno at clisp dot org gcc-bugzilla@gcc.gnu.org
Sun Dec 6 14:08:54 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98162

            Bug ID: 98162
           Summary: Documentation mentions non-existent option -mcet
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bruno at clisp dot org
  Target Milestone: ---

The documentation page
https://gcc.gnu.org/onlinedocs/gcc/x86-Built-in-Functions.html mentions "The
following built-in functions are available when -mcet or -mshstk option is
used."

But an option '-mcet' is not documented (see
https://gcc.gnu.org/onlinedocs/gcc/Option-Index.html) and not implemented
either:

$ gcc -S -O2 a.c -mcet -fcf-protection
gcc: error: unrecognized command-line option '-mcet'


More information about the Gcc-bugs mailing list