[flang-commits] [flang] [Flang] Fix driver test after #125643 (PR #138959)
via flang-commits
flang-commits at lists.llvm.org
Wed May 7 13:49:29 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-driver
Author: Jan Patrick Lehr (jplehr)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/138959.diff
1 Files Affected:
- (modified) flang/test/Driver/mcmodel.f90 (-2)
``````````diff
diff --git a/flang/test/Driver/mcmodel.f90 b/flang/test/Driver/mcmodel.f90
index 12d90ece2f24f..8a03b17bfbcba 100644
--- a/flang/test/Driver/mcmodel.f90
+++ b/flang/test/Driver/mcmodel.f90
@@ -1,5 +1,4 @@
! RUN: not %flang -### -c --target=i686 -mcmodel=medium %s 2>&1 | FileCheck --check-prefix=ERR-MEDIUM %s
-! RUN: %flang --target=x86_64 -### -c -mcmodel=tiny %s 2>&1 | FileCheck --check-prefix=TINY %s
! RUN: %flang --target=x86_64 -### -c -mcmodel=small %s 2>&1 | FileCheck --check-prefix=SMALL %s
! RUN: %flang --target=x86_64 -### -S -mcmodel=kernel %s 2>&1 | FileCheck --check-prefix=KERNEL %s
! RUN: %flang --target=x86_64 -### -c -mcmodel=medium %s 2>&1 | FileCheck --check-prefix=MEDIUM %s
@@ -41,4 +40,3 @@
! AARCH64-PIC-LARGE: error: invalid argument '-mcmodel=large' only allowed with '-fno-pic'
! ERR-AARCH64_32: error: unsupported argument 'small' to option '-mcmodel=' for target 'aarch64_32-unknown-linux'
-
``````````
</details>
https://github.com/llvm/llvm-project/pull/138959
More information about the flang-commits
mailing list