fix Issue 8360 - Destruction of uninitialized temporary struct with assert
fix Issue 8361 - [ICE] (eh.c line 316) with struct with dtor in assert
Merge pull request #2620 from 9rnsr/fix8360

Issue 8360 & 8361 - Destruction of uninitialized temporary struct with assert