diff options
author | Kai Tietz <ktietz@redhat.com> | 2013-09-13 19:28:25 +0200 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2013-09-13 19:28:25 +0200 |
commit | a1e51df97b9d2a61cb4a2c8c7a3f2caca6be1f89 (patch) | |
tree | b06e3e2e97e84850a4f6641e7c58eb6eab3baa68 | |
parent | 5cf16202ab6eca4bc6acb7028b6b30e19dbdea01 (diff) | |
download | gcc-a1e51df97b9d2a61cb4a2c8c7a3f2caca6be1f89.zip gcc-a1e51df97b9d2a61cb4a2c8c7a3f2caca6be1f89.tar.gz gcc-a1e51df97b9d2a61cb4a2c8c7a3f2caca6be1f89.tar.bz2 |
re PR target/57848 (internal compiler error on builtin and '#pragma GCC target()' option)
PR target/57848
* c-decl.c (c_builtin_function_ext_scope): Remove
wrong assumption that it is never called on prexisting
symbol.
From-SVN: r202572
-rw-r--r-- | gcc/c/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/c/c-decl.c | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 1b4b297..8b0cc2f 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,10 @@ +2013-09-13 Kai Tietz <ktietz@redhat.com> + + 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 <joern.rennecke@embecosm.com> * 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 f7ae648..f263348 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); |