https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584
--- Comment #14 from Andreas Schwab <sch...@linux-m68k.org> --- -pedantic is not designed to reject all programs that are not strictly conforming, but to enable emitting all _required_ diagnostics. I don't think a conversion between function and object pointer type requires a diagnostic.