https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83117
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2017-11-23 CC| |mpolacek at gcc dot gnu.org, | |msebor at gcc dot gnu.org Component|target |c Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Looks like a bogus warning to me. extern long do_test_aligned (); is not a prototype so static long (*const do_test_v1) (long a, ...) = (void *) do_test_aligned; is a way to provide one and the return type even matches.