Bug: Symmetry-related errors when compiling spglib with gcc 14 without coverage flags
The testsuite produces several symmetry-related failures when compiling spglib with gcc 14.2 without profiling flags with errors like
*** Fatal Error (description follows)
*--------------------------------------------------------------------
* Internal error: could not find symmetric partner for atom number 1
* with non-symmorphic symmetry operation number 1.
This happens for the min jobs both with
- other dependencies from fedora: https://gitlab.com/octopus-code/octopus/-/jobs/10048246547
- other dependencies from spack: https://gitlab.com/octopus-code/octopus/-/jobs/10043317983
but not with
- gcc13 from spack: https://gitlab.com/octopus-code/octopus/-/jobs/10043317975
- gcc12 from debian: https://gitlab.com/octopus-code/octopus/-/jobs/10048246544
Adding -ftest-coverage -fprofile-arcs -fprofile-update=single to CFLAGS, CXXFLAGS and FFLAGS avoids the issue, e.g.:
- fedora dependencies: https://gitlab.com/octopus-code/octopus/-/jobs/10072960739
- spack dependencies: https://gitlab.com/octopus-code/octopus/-/jobs/10072897817