https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103421
Bug ID: 103421 Summary: -march=bogus12323123423452345 -march=skylake-avx512 is accepted as a command line option Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: x86_64 While looking into figuring out the best way of fixing an aarch64 issue I decided to test what x86_64 does and lone and behold, x86_64 also allow bogus values for -march too. gcc -march=bogus12323123423452345 -march=skylake-avx512 gives no warning or error message.