------- Comment #1 from atgraham at gmail dot com 2006-07-26 15:42 ------- Actually, the for loop is unnecessary. Here's a shorter version that displays the same problem:
struct Command { virtual ~Command() {} }; void tryfunc() { Command cmd; throw 1; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28493