This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/78877] New: Missing suggestion for -fsanitize=addres


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

            Bug ID: 78877
           Summary: Missing suggestion for -fsanitize=addres
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Currently, we do not suggest '-fsanitize=address' for '-fsanitize=addres',
which replacing equal symbol with dash works fine.

$ echo | ./xgcc -B. -fsanitize=addres -xc -
xgcc: error: unrecognized argument to -fsanitize= option: ‘addres’

$ echo | ./xgcc -B. -fsanitize-addres -xc -
xgcc: error: unrecognized command line option ‘-fsanitize-addres’;
did you mean ‘-fsanitize=address’?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]