https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90471 --- Comment #20 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> --- gcc 8.2.0 does not crash on this code. I tried to use sgcheck, but without luck - it exited on some assertion failure.