https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The allocation is completely intentional, exactly to be able to track whether it was referenced or not. Otherwise the exercise makes no sense.