
This patch removes the -f[no-]trapping-math flags from the -cc1 command line. These flags are ignored in the command line parser and their semantics is fully handled by -ffp-exception-mode. This patch does not remove -f[no-]trapping-math from the driver command line. The driver flags are being used and do affect compilation. Reviewed By: dexonsmith, SjoerdMeijer Differential Revision: https://reviews.llvm.org/D93395
9 lines
170 B
C
9 lines
170 B
C
// RUN: %clang_cc1 -S %s -emit-llvm -o - | FileCheck %s
|
|
|
|
// CHECK-LABEL: main
|
|
// CHECK: attributes #0 = {{.*}}"no-trapping-math"="true"{{.*}}
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|