[Bug analyzer/94689] arrays of functions are not meaningful
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 21 12:42:55 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94689
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Slightly cleaned up testcase (still, pedantically invalid):
typedef void (*F) (void);
void bar (F);
void
foo (void *a, int b)
{
bar ((F) a + b);
}
More information about the Gcc-bugs
mailing list