[flang-commits] [flang] [flang] Make lto-bc.f90 unsupported on Darwin (PR #171696)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Wed Dec 10 12:48:16 PST 2025
https://github.com/luporl created https://github.com/llvm/llvm-project/pull/171696
On Darwin, an additional unexpected warning is emitted:
```
/path/to/flang/test/Semantics/bug159554.f90:4:11: warning: 'c_funloc' should not be the name of both a generic interface and a procedure unless it is a specific procedure of the generic [-Whomonymous-specific]
interface c_funloc
^^^^^^^^
```
>From 7c7c07f57ef00528b09cb4f647ee6eb0eccdb142 Mon Sep 17 00:00:00 2001
From: Leandro Lupori <leandro.lupori at linaro.org>
Date: Wed, 10 Dec 2025 17:44:03 -0300
Subject: [PATCH] [flang] Make lto-bc.f90 unsupported on Darwin
On Darwin, an additional unexpected warning is emitted:
```
/path/to/flang/test/Semantics/bug159554.f90:4:11: warning: 'c_funloc' should not be the name of both a generic interface and a procedure unless it is a specific procedure of the generic [-Whomonymous-specific]
interface c_funloc
^^^^^^^^
```
---
flang/test/Semantics/bug159554.f90 | 1 +
1 file changed, 1 insertion(+)
diff --git a/flang/test/Semantics/bug159554.f90 b/flang/test/Semantics/bug159554.f90
index f5a51ebc0b5cb..a9d89513b247f 100644
--- a/flang/test/Semantics/bug159554.f90
+++ b/flang/test/Semantics/bug159554.f90
@@ -1,3 +1,4 @@
+!UNSUPPORTED: system-darwin
!RUN: %python %S/test_errors.py %s %flang_fc1
use, intrinsic :: iso_c_binding
interface c_funloc
More information about the flang-commits
mailing list