https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84633
--- Comment #2 from Vegard Nossum <vegard.nossum at gmail dot com> --- (In reply to Marek Polacek from comment #1) > (In reply to Vegard Nossum from comment #0) > > 7.3.0 seems fine. > > I think you're testing with a compiler built with --enable-checking=release > so it doesn't crash for you. Building GCC with --enable-checking=yes would > show the ICE. You are right; I used 7.3 on godbolt.org to verify and I either pasted the wrong reproducer or I missed the error (it does say "confused by earlier errors, bailing out", and in those cases I would usually include this message in the bug report). pinskia also reminded me that this "confused by earlier errors" message is an indication of ICE. My bad!