https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91859
--- Comment #3 from Domingo Alvarez <mingodad at gmail dot com> --- Thank you ! I was suspecting it after report this problem and added a destructor to the sample and then the code behaves as you describe. Sorry by the noise and thank you again !