[all-commits] [llvm/llvm-project] 26f83b: [flang] Fixed unittest build issue with older gcc.

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Jan 18 19:21:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26f83b43b16a6efde8769d4bdf12779ffd8ef874
      https://github.com/llvm/llvm-project/commit/26f83b43b16a6efde8769d4bdf12779ffd8ef874
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M flang/unittests/Runtime/Allocatable.cpp

  Log Message:
  -----------
  [flang] Fixed unittest build issue with older gcc.

I am getting this error with `check-flang`:
```
ld.lld: error: undefined symbol: mlir::SuccessorRange::SuccessorRange(mlir::Operation*)
>>> referenced by Operation.h:549 (/llvm-project/llvm/../mlir/include/mlir/IR/Operation.h:549)
>>>               CMakeFiles/FlangRuntimeTests.dir/Allocatable.cpp.o:(mlir::Operation::getSuccessors())
```

The buildbots are okay, so I guess it has something to do with
gcc-9 that I am using.

Differential Revision: https://reviews.llvm.org/D142069




More information about the All-commits mailing list