https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
--- Comment #12 from Nicholas Krause <xerofoify at gmail dot com> --- Sorry about not reading the comment carefully. I'm not if this helps but after looking at the change to this file: https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/cgraph.c?r1=199577&r2=199576&pathrev=199577 n = cgraph_create_function_alias (alias, decl); was never changed for creating with the new function arguments as found here: struct cgraph_node * cgraph_create_function_alias (tree alias, tree target) and therefore it should be: n = cgraph_create_function_alias (alias, target); and not decl.