------- Comment #14 from jakub at gcc dot gnu dot org 2007-12-18 23:31 ------- Zero initialization would work, sure. I was just worried if it wouldn't result in code pessimization. The var in the testcase is only unitialized if exception is thrown, and exceptions should be exceptional. But the zero initialization will be executed even when no exceptions are thrown. Couldn't we e.g. zero initialize it only on the EH edges from bbs where it was uninitialized?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31081