D-Programming-Language/dmd — pull request #1645 by mxfm (2013-02-08 17:36:57+00:00)
Title: Fix issue 9438 - Strange RefCounted stack overflow

This fixes issue 9438.

When except_fillInEHTable() calculates offset for DHandlerTable for destructors of temporary objects, it does it twice, so calculated offset is bigger than necessary, so druntime unwinds up to wrong asm instruction, so program goes off the rails. It seems that it worked with -g by chance, since with -g operand queue contains more special elements for which calccodesize() returns zero.