https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91751
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think there are a few dups of this bug. What happens is the call to deconstructor's line is the same as the object line; rather than the end of the scope.