https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285
--- Comment #1 from Guus Sliepen <guus at debian dot org> --- Comment on attachment 45656 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45656 Minimal reproducer code The while-loop can be removed as well, and it will still give an ICE.