projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df7926
)
(pushdecl): Allow redeclaring builtin as any sort of static.
author
Richard Stallman
<rms@gnu.org>
Wed, 28 Oct 1992 21:39:12 +0000
(21:39 +0000)
committer
Richard Stallman
<rms@gnu.org>
Wed, 28 Oct 1992 21:39:12 +0000
(21:39 +0000)
From-SVN: r2639
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 5e8fd4320b5f20504fd14cd2ba84b8ed88d6e123..40f30d324018fdacdf78c3f5101f9f0d98524d31 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-1906,9
+1906,8
@@
pushdecl (x)
if (TREE_PUBLIC (name)
&& ! TREE_PUBLIC (x) && ! DECL_EXTERNAL (x))
{
- /* Okay to declare an ANSI built-in as inline static. */
- if (t != 0 && DECL_BUILT_IN (t)
- && DECL_INLINE (x))
+ /* Okay to redeclare an ANSI built-in as static. */
+ if (t != 0 && DECL_BUILT_IN (t))
;
/* Okay to declare a non-ANSI built-in as anything. */
else if (t != 0 && DECL_BUILT_IN_NONANSI (t))