In his recent blog post Andrzej described in detail about a bug he discovered in GCC.
by Andrzej Krzemienski
From the article:
This post is to inform you about a bug in GCC that may cause memory (or other resource) leaks in your valid C++ programs.
One of the pillars of C++ philosophy is what we often call RAII: if you use classes to manage resources, use constructors for allocating resources and destructors for releasing them, the language makes sure that whatever happens, however you use such classes the resources will get properly released.