https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84684
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #3) > the errors go away. Or if I remove int main () { and }, i.e. keep the > static_asserts at the toplevel, it fails, but in different spots than when > it is in main. Yes, that's what made me suspect something uninitialized and try valgrind.