-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Closed
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Description
$ bin/clang -c x.c -ffast-math -fno-fast-math
clang-13: warning: overriding '-ffp-contract=fast' option with '-ffp-contract=on' [-Woverriding-t-option]
$ bin/clang -c x.c -Ofast -fno-fast-math
clang-13: warning: overriding '-ffp-contract=fast' option with '-ffp-contract=on' [-Woverriding-t-option]
The warning seems unexpected... I don't think it makes sense to warn here? Even if there is some reason to warn here, it's hard to understand the relationship between the warning text and the actual arguments.
I think this is a regression from https://reviews.llvm.org/D107994 .
Metadata
Metadata
Assignees
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'