https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96988
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |c++ Blocks| |24639 Keywords| |diagnostic --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The important missing thing is indeed <source>:5:12: warning: function returns address of local variable [-Wreturn-local-addr] 5 | return b; | ^ Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 [Bug 24639] [meta-bug] bug to track all Wuninitialized issues