[Bug c++/91859] Optnization -O2 removes valid and necessary code

mingodad at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 23 11:21:00 GMT 2019


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 !


More information about the Gcc-bugs mailing list