https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109268
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=19661 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is the deconstructor which is causing the need for the guard variable. Very much related to PR 19661 .