https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> --- The problem seems to be that maybe_nonzero_address doesn't return true for all temporaries, only those created at function scope, but here the temporary for 'S{}' is created at namespace scope.