[Bug c++/42063] g++ violate [class.dtor] when explicit destructor call

2009-11-17 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2009-11-17 10:01 --- Also, please note that n2960 is not a standard, it's only a draft, and it's not even the latest draft. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42063

[Bug c++/42063] g++ violate [class.dtor] when explicit destructor call

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-16 13:16 --- I don't have the time to analyze this, but I note that a binary built with ICC behaves exactly the same way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42063

[Bug c++/42063] g++ violate [class.dtor] when explicit destructor call

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-16 13:59 --- The confusion stems from the way, slightly confusing, in which the example in the standard is written, which, if considered an actually runnable snippet, invokes undefined behavior, because destroys the base