https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77433
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00911.html https://gcc.gnu.org/ml/gcc-patches/2016-08/msg01331.html use-after-scope sanitization should catch this.