Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

IoC drivers segfault with Flang when releasing base #253

Open
aprokop opened this issue Dec 25, 2018 · 1 comment
Open

IoC drivers segfault with Flang when releasing base #253

aprokop opened this issue Dec 25, 2018 · 1 comment

Comments

@aprokop
Copy link
Collaborator

aprokop commented Dec 25, 2018

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.

@aprokop
Copy link
Collaborator Author

aprokop commented Dec 25, 2018

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant