[flang-commits] [flang] [llvm] [flang][OpenMP] Parsing support for iterator modifiers in FROM and TO (PR #114593)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Mon Nov 4 08:57:15 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx` running on `linaro-flang-aarch64-libcxx` while building `flang,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/9745
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
228.957 [545/71/6640] Building CXX object tools/llvm-cxxmap/CMakeFiles/llvm-cxxmap.dir/llvm-cxxmap.cpp.o
228.962 [545/70/6641] Building CXX object tools/llvm-debuginfo-analyzer/CMakeFiles/llvm-debuginfo-analyzer.dir/llvm-debuginfo-analyzer.cpp.o
228.973 [541/73/6642] Building Opts.inc...
228.977 [541/72/6643] Building CXX object tools/llvm-debuginfo-analyzer/CMakeFiles/llvm-debuginfo-analyzer.dir/Options.cpp.o
228.979 [541/71/6644] Building Opts.inc...
229.021 [541/70/6645] Linking CXX executable bin/llvm-cxxfilt
229.049 [541/69/6646] Building CXX object tools/llvm-diff/CMakeFiles/llvm-diff.dir/llvm-diff.cpp.o
229.055 [541/68/6647] Linking CXX executable bin/llvm-cvtres
229.093 [541/67/6648] Linking CXX executable bin/llvm-cxxmap
229.756 [541/66/6649] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-omp-structure.cpp.o
FAILED: tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-omp-structure.cpp.o
/usr/local/bin/c++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/flang/lib/Semantics -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/flang/lib/Semantics -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/../mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/clang/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/../clang/include -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument -Wstring-conversion -Wcovered-switch-default -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-omp-structure.cpp.o -MF tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-omp-structure.cpp.o.d -o tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-omp-structure.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/flang/lib/Semantics/check-omp-structure.cpp
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:27: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
286 | return common::visit([this](auto &&s) { return Visit(s); }, x.u);
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:314:66: note: in instantiation of function template specialization 'Fortran::semantics::(anonymous namespace)::ContiguousHelper::Visit<Fortran::evaluate::SomeType>' requested here
314 | return ContiguousHelper{context_}.Visit(
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:27: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
286 | return common::visit([this](auto &&s) { return Visit(s); }, x.u);
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:52: note: in instantiation of function template specialization 'Fortran::semantics::(anonymous namespace)::ContiguousHelper::Visit<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Integer>>' requested here
286 | return common::visit([this](auto &&s) { return Visit(s); }, x.u);
| ^
../llvm-project/flang/include/flang/Common/visit.h:61:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 4UL, std::optional<bool>, (lambda at ../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:26), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<SomeCharacter>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeDerived>> &>' requested here
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
../llvm-project/flang/include/flang/Common/visit.h:78:12: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 9UL, std::optional<bool>, (lambda at ../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:26), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<SomeCharacter>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeDerived>> &>' requested here
78 | return Log2VisitHelper<0, high, Result>(std::forward<VISITOR>(visitor),
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:20: note: in instantiation of function template specialization 'Fortran::common::log2visit::visit<(lambda at ../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:26), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<SomeCharacter>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeDerived>> &>' requested here
286 | return common::visit([this](auto &&s) { return Visit(s); }, x.u);
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:314:66: note: in instantiation of function template specialization 'Fortran::semantics::(anonymous namespace)::ContiguousHelper::Visit<Fortran::evaluate::SomeType>' requested here
314 | return ContiguousHelper{context_}.Visit(
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:27: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
286 | return common::visit([this](auto &&s) { return Visit(s); }, x.u);
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:52: note: in instantiation of function template specialization 'Fortran::semantics::(anonymous namespace)::ContiguousHelper::Visit<Fortran::evaluate::Type<Fortran::common::TypeCategory::Integer, 1>>' requested here
286 | return common::visit([this](auto &&s) { return Visit(s); }, x.u);
| ^
../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:52: note: in instantiation of function template specialization 'Fortran::semantics::(anonymous namespace)::ContiguousHelper::Visit<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Integer>>' requested here
../llvm-project/flang/include/flang/Common/visit.h:61:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 4UL, std::optional<bool>, (lambda at ../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:26), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<SomeCharacter>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeDerived>> &>' requested here
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
../llvm-project/flang/include/flang/Common/visit.h:78:12: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 9UL, std::optional<bool>, (lambda at ../llvm-project/flang/lib/Semantics/check-omp-structure.cpp:286:26), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<SomeCharacter>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeDerived>> &>' requested here
78 | return Log2VisitHelper<0, high, Result>(std::forward<VISITOR>(visitor),
| ^
```
</details>
https://github.com/llvm/llvm-project/pull/114593
More information about the flang-commits
mailing list