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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> static int (*fun_t)(struct foo *);          // Leak (even w/o restrict!)
> int (*fun_t)(struct foo *);                 // Leak (even w/o restrict!)

The above should include the foo debug information as those are variable
definitions of a pointer to a function that has foo as an argument type.

Reply via email to