[flang-commits] [clang] [flang] [flang][openacc] add optional extension to allow default none scalars (PR #197718)

via flang-commits flang-commits at lists.llvm.org
Thu May 14 11:58:07 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 92272 tests passed
* 1773 tests skipped
* 1 test failed

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

### Flang
<details>
<summary>Flang.Semantics/OpenACC/acc-default-none-scalars.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
"/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenACC/../test_errors.py /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenACC/acc-default-none-scalars.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fopenacc -facc-allow-default-none-scalars -Wacc-implicit-scalar
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenACC/../test_errors.py /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenACC/acc-default-none-scalars.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fopenacc -facc-allow-default-none-scalars -Wacc-implicit-scalar
# .---command stdout------------
# | --- 
# | +++ 
# | @@ -1 +1 @@
# | 
# | actual at 12: Implicit attribute inferred for DEFAULT(NONE) scalar 'a' (-facc-allow-default-none-scalars) [-Wacc-implicit-scalar]
# | expect at 12: 'a' has no data clause under DEFAULT(NONE); implicit attribute inferred (-facc-allow-default-none-scalars enables pre-OpenACC-3.2 behavior) [-Wacc-implicit-scalar]
# | 
# | FAIL
# `-----------------------------
# 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/197718


More information about the flang-commits mailing list