While at it: - uploaded gcc-10 fix to upstream bugtracker and pulled patch from there - dropped explicit -O0 from CXXFLAGS to enable default optimisations