[flang-commits] [flang] [llvm] [flang] __fortran_builtins: Update __builtin_team_type to meet PRIF specification (PR #202450)

via flang-commits flang-commits at lists.llvm.org
Thu Jun 11 08:08:51 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 4323 tests passed
* 250 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Flang
<details>
<summary>Flang.Semantics/OpenMP/declare-target-flags.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc -fdebug-dump-symbols -fopenmp -fopenmp-version=60 C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\declare-target-flags.f90 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\declare-target-flags.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 '-fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc' -fdebug-dump-symbols -fopenmp -fopenmp-version=60 'C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\declare-target-flags.f90'
# .---command stderr------------
# | warning: OpenMP support for version 60 in flang is still incomplete [-Wexperimental-option]
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\declare-target-flags.f90'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\declare-target-flags.f90:32:9: error: CHECK: expected string not found in input
# | !CHECK: u, PUBLIC (InCommonBlock, OmpDeclareTarget) size=40 offset=40: ObjectEntity type: REAL(4) shape: 1_8:10_8
# |         ^
# | <stdin>:300:69: note: scanning from here
# |  h, PUBLIC (Subroutine): Subprogram () OmpDeclareTargetFlags:(enter)
# |                                                                     ^
# | <stdin>:301:2: note: possible intended match here
# |  u, PUBLIC (InCommonBlock) size=40 offset=40: ObjectEntity type: REAL(4) shape: 1_8:10_8
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\declare-target-flags.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           295:  specialcaseflag size=1 offset=3: ObjectEntity type: INTEGER(1) 
# |           296:  which size=1 offset=0: ObjectEntity type: INTEGER(1) 
# |           297:  Module scope: m size=4 alignment=4 sourceRange=383 bytes 
# |           298:  f, PUBLIC (Subroutine): Subprogram () OmpDeclareTargetFlags:(enter) 
# |           299:  g, EXTERNAL, PUBLIC (Function, OmpDeclareTarget): Subprogram isInterface result:REAL(4) g (REAL(4) v) OmpDeclareTargetFlags:(enter) 
# |           300:  h, PUBLIC (Subroutine): Subprogram () OmpDeclareTargetFlags:(enter) 
# | check:32'0                                                                         X error: no match found
# |           301:  u, PUBLIC (InCommonBlock) size=40 offset=40: ObjectEntity type: REAL(4) shape: 1_8:10_8 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:32'1      ?                                                                                        possible intended match
# |           302:  w, PUBLIC (InCommonBlock) size=40 offset=0: ObjectEntity type: REAL(4) shape: 1_8:10_8 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           303:  x, PUBLIC (OmpDeclareTarget) size=4 offset=0: ObjectEntity type: INTEGER(4) OmpDeclareTargetFlags:(device_type(nohost) link) 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           304:  named_block size=80 offset=0: CommonBlockDetails alignment=4: w u OmpDeclareTargetFlags:(link) 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           305:  Subprogram scope: g size=44 alignment=4 sourceRange=57 bytes 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           306:  g size=4 offset=0: ObjectEntity funcResult type: REAL(4) 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/202450


More information about the flang-commits mailing list