https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118847
--- Comment #5 from David Binderman <dcb314 at hotmail dot com> --- Reduced C code seems to be: struct zw_value { ~zw_value(); }; void __trans_tmp_1() { for (; auto val = __trans_tmp_1;) { switch (0) case 0:; zw_value cst; } }