https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824
--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject dot org> --- (In reply to Iain Buclaw from comment #3) > (In reply to Jakub Jelinek from comment #1) > > FAIL: runnable/eh.d -O2 execution test > > FAIL: runnable/eh.d -O2 -shared-libphobos execution test > > On x86, the EH handling is unable to determine that two independently thrown > exceptions should be chained together. > > Currently this is determined by comparing the LSDA, but this doesn't work > when a function is partitioned into hot and cold blocks. > > Having -fno-reorder-blocks-and-partitions the default is also enough for exception chaining to work as expected.