http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848
--- Comment #12 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Does the following patch helps to you?
Index: c/c-decl.c
===================================================================
--- c/c-decl.c (Revision 202491)
+++ c/c-decl.c (Arbeitskopie)
@@ -3604,7 +3604,7 @@ c_builtin_function (tree decl)
C_DECL_BUILTIN_PROTOTYPE (decl) = prototype_p (type);
/* Should never be called on a symbol with a preexisting meaning. */
- gcc_assert (!I_SYMBOL_BINDING (id));
+ gcc_assert (TREE_CODE (decl) == CONST_DECL || !I_SYMBOL_BINDING (id));
bind (id, decl, external_scope, /*invisible=*/true, /*nested=*/false,
UNKNOWN_LOCATION);
@@ -3629,9 +3629,6 @@ c_builtin_function_ext_scope (tree decl)
const char *name = IDENTIFIER_POINTER (id);
C_DECL_BUILTIN_PROTOTYPE (decl) = prototype_p (type);
- /* Should never be called on a symbol with a preexisting meaning. */
- gcc_assert (!I_SYMBOL_BINDING (id));
-
bind (id, decl, external_scope, /*invisible=*/false, /*nested=*/false,
UNKNOWN_LOCATION);