I updated the container to Flang 20180612. The tests ForTrilinosInterface_test_solver_handle_test_fortran and ForTrilinosInterface_test_nox_fortran now segfault. Commenting out base class release fixes that.
I'm attaching a simpler reproducer. If base is commented out, it runs. Otherwise segfaults.
It is also funny that commenting out code inside my_apply while keeping base release also makes it pass. Weird.
For now, I workaround this issue in the drivers by hiding base release behind __GNUC__. I would have preferred to check for __clang__ but that one seems undefined when compiling with Flang.
I updated the container to Flang 20180612. The tests
ForTrilinosInterface_test_solver_handle_test_fortran
andForTrilinosInterface_test_nox_fortran
now segfault. Commenting out base class release fixes that.I'm attaching a simpler reproducer. If base is commented out, it runs. Otherwise segfaults.
It is also funny that commenting out code inside
my_apply
while keeping base release also makes it pass. Weird.