Skip to content

[Flang][OpenMP] verification of lowering to FIR failed on omp atomic write with pointer assignment to derived type #161932

@k-arrows

Description

@k-arrows

Reproducer:
https://godbolt.org/z/odGoe5Evq

type t
end type

type(t), pointer :: a1, a2

!$omp atomic write
a1 = a2
end

The expected behavior is that the code either compiles successfully or produces an appropriate and informative diagnostic.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions