Details
Details
- Reviewers
efriedma MaskRay - Commits
- rGea789f819f26: Remove unused option that gcc ignored
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can we just delete the options?
The misspelled options were added in rC214906 to work around https://clang.debian.net/status.php?version=3.4.2&key=UNKNOWN_ARG . Actually the -ftree* options were not used. Apparently our option names has been wrong for 5 years and nobody complains.
Comment Actions
It should be kept for compatibility. These three options may be used in other projects compiled by gcc.
Clang should ignore it.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
Comment Actions
These three options may be used in other projects compiled by gcc.
We can add them on demand. I don't see a rationale to add them preemptively.