You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
llvm-project/flang/include/flang/Optimizer/Builder/BoxValue.h:375: fir::MutableBoxValue::MutableBoxValue(mlir::Value, mlir::ValueRange, MutableProperties): Assertion `verify() && "MutableBoxValue requires mem ref to fir.box<fir.[heap|ptr]<type>>"` failed.
There are two problems here
We should add a semantic check similar to [flang][Semantics][OpenMP] don't reduce variables in namelist #110671 which prevents namelist variables in copyin. This is already not allowed in private and reduction and it was concluded in the above PR that even if the standard allows this we should not support it because it would be difficult to do without introducing performance regressions
The assertion failure (reproducible with the name-list removed)
The text was updated successfully, but these errors were encountered:
`flang -fopenmp` currently hits an assertion failure building this program: https://github.com/fujitsu/compiler-test-suite/blob/main/Fortran/0070/0070_0185.f03
llvm-project/flang/include/flang/Optimizer/Builder/BoxValue.h:375: fir::MutableBoxValue::MutableBoxValue(mlir::Value, mlir::ValueRange, MutableProperties): Assertion `verify() && "MutableBoxValue requires mem ref to fir.box<fir.[heap|ptr]<type>>"` failed.
There are two problems here
We should add a semantic check similar to [flang][Semantics][OpenMP] don't reduce variables in namelist #110671 which prevents namelist variables in copyin. This is already not allowed in private and reduction and it was concluded in the above PR that even if the standard allows this we should not support it because it would be difficult to do without introducing performance regressions
The assertion failure (reproducible with the name-list removed)
EugeneZelenko
changed the title
[flang][OpenMP] assertion failure for copyin of common variables
[flang][OpenMP] assertion failure for copying of common variables
Oct 16, 2024
flang -fopenmp
currently hits an assertion failure building this program: https://github.com/fujitsu/compiler-test-suite/blob/main/Fortran/0070/0070_0185.f03There are two problems here
The text was updated successfully, but these errors were encountered: