https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90677
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Better reduced testcase that shows what actually is happening in the older GCCs: struct cgraph_node; struct tree_node; typedef struct tree_node *tree; struct cgraph_node *cgraph_node (tree); void foo (int, const char *, ...) __attribute__((__format__(__gcc_diag__, 2, 3)));