Skip to content

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

but not with

Adding -ftest-coverage -fprofile-arcs -fprofile-update=single to CFLAGS, CXXFLAGS and FFLAGS avoids the issue, e.g.: