llvm / llvm/llvm-project

[flang][multi image] Unexpected error 'arith.cmpi' op requires all operands to have the same type

Open
#207,302 2 comments 0 reactions 1 assignee Claimed by @JDPailleux View on GitHub
flang
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Perhaps related to #192944.

`% cat co.f90`

```fortran
! Same f18 error: 'arith.cmpi' op requires all operands to have the same type.
Real a[*]
Print *, This_Image(a)/=[1]
End
```

```
% flang -c -fcoarray co.f90
warning: Support for multi image Fortran features is still experimental and in development.
error: loc("co.f90":3:10): 'arith.cmpi' op requires all operands to have the same type
error: verification of lowering to FIR failed
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.