[flang-commits] [flang] [flang][OpenACC] Support acc routine info on ProcEntityDetails for separate compilation (PR #192367)
via flang-commits
flang-commits at lists.llvm.org
Thu Apr 16 16:46:22 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/resolve-directives.cpp.obj</summary>
```
FAILED: [code=1] tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/resolve-directives.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DFLANG_INCLUDE_TESTS=1 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\build\tools\flang\lib\Semantics -IC:\_work\llvm-project\llvm-project\flang\lib\Semantics -IC:\_work\llvm-project\llvm-project\flang\include -IC:\_work\llvm-project\llvm-project\build\tools\flang\include -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include -imsvcC:\_work\llvm-project\llvm-project\flang\..\mlir\include -imsvcC:\_work\llvm-project\llvm-project\build\tools\mlir\include -imsvcC:\_work\llvm-project\llvm-project\build\tools\clang\include -imsvcC:\_work\llvm-project\llvm-project\llvm\..\clang\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Fotools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\resolve-directives.cpp.obj /Fdtools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\FortranSemantics.pdb -c -- C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1487,3): warning: add explicit braces to avoid dangling else [-Wdangling-else]
1487 | else
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1491,1): error: extraneous closing brace ('}')
1491 | }
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1493,6): error: use of undeclared identifier 'AccAttributeVisitor'
1493 | bool AccAttributeVisitor::Pre(const parser::OpenACCRoutineConstruct &x) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1493,37): error: use of undeclared identifier 'parser'
1493 | bool AccAttributeVisitor::Pre(const parser::OpenACCRoutineConstruct &x) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1518,6): error: use of undeclared identifier 'AccAttributeVisitor'
1518 | bool AccAttributeVisitor::Pre(const parser::AccBindClause &x) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1518,37): error: use of undeclared identifier 'parser'
1518 | bool AccAttributeVisitor::Pre(const parser::AccBindClause &x) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1529,6): error: use of undeclared identifier 'AccAttributeVisitor'
1529 | bool AccAttributeVisitor::Pre(const parser::OpenACCCombinedConstruct &x) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1529,37): error: use of undeclared identifier 'parser'
1529 | bool AccAttributeVisitor::Pre(const parser::OpenACCCombinedConstruct &x) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1550,35): error: use of undeclared identifier 'parser'
1550 | static bool IsLastNameArray(const parser::Designator &designator) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1552,9): error: use of undeclared identifier 'evaluate'
1552 | const evaluate::DataRef dataRef{*(name.symbol)};
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1553,10): error: use of undeclared identifier 'common'
1553 | return common::visit( //
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1554,7): error: use of undeclared identifier 'common'
1554 | common::visitors{
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1568,6): error: use of undeclared identifier 'AccAttributeVisitor'
1568 | void AccAttributeVisitor::AllowOnlyArrayAndSubArray(
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1569,11): error: use of undeclared identifier 'parser'
1569 | const parser::AccObjectList &objectList) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1595,6): error: use of undeclared identifier 'AccAttributeVisitor'
1595 | void AccAttributeVisitor::DoNotAllowAssumedSizedArray(
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1596,11): error: use of undeclared identifier 'parser'
1596 | const parser::AccObjectList &objectList) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1620,6): error: use of undeclared identifier 'AccAttributeVisitor'
1620 | void AccAttributeVisitor::AllowOnlyVariable(const parser::AccObject &object) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1620,51): error: use of undeclared identifier 'parser'
1620 | void AccAttributeVisitor::AllowOnlyVariable(const parser::AccObject &object) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1640,6): error: use of undeclared identifier 'AccAttributeVisitor'
1640 | bool AccAttributeVisitor::Pre(const parser::OpenACCWaitConstruct &x) {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Semantics\resolve-directives.cpp(1640,37): error: use of undeclared identifier 'parser'
1640 | bool AccAttributeVisitor::Pre(const parser::OpenACCWaitConstruct &x) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
```
</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/192367
More information about the flang-commits
mailing list