Skip to content

Workaround for a compiler bug in gcc 12

Sebastian Ohlmann requested to merge fix_for_gcc12 into develop

Description

It seems gcc 12 introduced a bug for polymorphic arrays and openmp

By adding a pointer, we can circumvent this and still make the code work as before.

News snippet

Add here a one line description to be included in the Changes page. You can delete this section if the changes are trivial and of no consequence for the users.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.
Edited by Sebastian Ohlmann

Merge request reports