public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/103421] New: -march=bogus12323123423452345 -march=skylake-avx512 is accepted as a command line option
@ 2021-11-25  7:52 pinskia at gcc dot gnu.org
  2021-11-25  7:53 ` [Bug target/103421] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-25  7:52 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-29  6:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25  7:52 [Bug target/103421] New: -march=bogus12323123423452345 -march=skylake-avx512 is accepted as a command line option pinskia at gcc dot gnu.org
2021-11-25  7:53 ` [Bug target/103421] " pinskia at gcc dot gnu.org
2021-11-25 14:00 ` rguenth at gcc dot gnu.org
2021-12-29  6:32 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).