https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808
--- Comment #12 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- Building with -O1 fixes the problem for me. Now I need to compare the flags for -O1 and -O2 and check which one breaks the build.