[Clang] Make OpenMP offloading consistently use the bound architecture (#125135)
[llvm-project.git] / flang / test / Driver / integer-overflow.f90
blob023f39fa5413ff99d729054387d1c825701a6643
1 ! Test for correct forwarding of integer overflow flags from the compiler driver
2 ! to the frontend driver
4 ! RUN: %flang -### -fno-strict-overflow %s 2>&1 | FileCheck %s --check-prefix=INDUCED
5 ! RUN: %flang -### -fstrict-overflow %s 2>&1 | FileCheck %s
6 ! RUN: %flang -### -fno-wrapv %s 2>&1 | FileCheck %s
7 ! RUN: %flang -### -fno-wrapv -fno-strict-overflow %s 2>&1 | FileCheck %s
9 ! CHECK-NOT: "-fno-wrapv"
10 ! INDUCED: "-fwrapv"