From: ktietz Date: Fri, 13 Sep 2013 17:28:25 +0000 (+0000) Subject: PR target/57848 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bda0b9d2bf0e3823b2cab79ffd3f70015b42a967;p=thirdparty%2Fgcc.git PR target/57848 * c-decl.c (c_builtin_function_ext_scope): Remove wrong assumption that it is never called on prexisting symbol. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202572 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 1b4b29772943..8b0cc2f51700 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,10 @@ +2013-09-13 Kai Tietz + + PR target/57848 + * c-decl.c (c_builtin_function_ext_scope): Remove + wrong assumption that it is never called on prexisting + symbol. + 2013-09-08 Joern Rennecke * c-typeck.c (build_binary_op): Use vector_types_compatible_elements_p. diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c index f7ae648f024f..f26334829d8c 100644 --- a/gcc/c/c-decl.c +++ b/gcc/c/c-decl.c @@ -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);