11 lines · plain
1! Test for correct forwarding of integer overflow flags from the compiler driver2! to the frontend driver3 4! RUN: %flang -### -fno-strict-overflow %s 2>&1 | FileCheck %s --check-prefix=INDUCED5! RUN: %flang -### -fstrict-overflow %s 2>&1 | FileCheck %s6! RUN: %flang -### -fno-wrapv %s 2>&1 | FileCheck %s7! RUN: %flang -### -fno-wrapv -fno-strict-overflow %s 2>&1 | FileCheck %s8 9! CHECK-NOT: "-fno-wrapv"10! INDUCED: "-fwrapv"11