https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78485

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Warning is not done at compile time but is handled at runtime via the
sanitizers:
-fsanitize-address-use-after-scope
Enable sanitization of local variables to detect use-after-scope bugs. The
option sets -fstack-reuse to ‘none’.

Reply via email to