Open yus3710-fj opened 7 months ago
@llvm/issue-subscribers-flang-ir
Author: Yusuke MINATO (yus3710-fj)
FYI, this happens because emitAtomicUpdate
doesn't currently support complex data types.
@ceseo @NimishMishra is working on this issue. https://github.com/llvm/llvm-project/pull/92364
I get the LLVM Error with the latest main
$ flang-new x.f90 -fopenmp && ./a.out
error: ~/Projects/llvm-project/flang/lib/Lower/DirectivesCommon.h:163: not yet implemented: Unsupported atomic type
LLVM ERROR: aborting
This is an issue from Fujitsu testsuite.
Flang-new terminates abnormally when compiling
atomic capture
for complex variable.The following are the test program and the compilation results of Flang-new and gfortran.