Clang -march= for ppc triples currently leads to an
-Wunused-command-line-argument warning but GCC rejects -march=.
error: unrecognized command-line option ‘-march=xxx’
Let's reject -march= as well similar to the Sparc change D130273.
Paths
| Differential D145141
[Driver] Reject -march= for ppc ClosedPublic Authored by MaskRay on Mar 1 2023, 11:20 PM.
Details
Summary Clang -march= for ppc triples currently leads to an error: unrecognized command-line option ‘-march=xxx’ Let's reject -march= as well similar to the Sparc change D130273.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 6 2023, 7:36 AM Closed by commit rG7370b9c8ea00: [Driver] Reject -march= for ppc (authored by MaskRay). · Explain WhyMar 6 2023, 9:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 502686 clang/lib/Driver/ToolChains/Arch/PPC.h
clang/lib/Driver/ToolChains/Arch/PPC.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/ppc-cpus.c
|