[Bug middle-end/104436] spurious -Wdangling-pointer assigning local address to a class passed by value

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 8 09:08:45 GMT 2022


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
DECL_BY_REFERENCE on the PARM_DECL tells you that indeed (not on the fndecl).


More information about the Gcc-bugs mailing list