projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7540b
)
(compile_file): Don't warn about artificial functions
author
Jason Merrill
<merrill@gnu.org>
Fri, 10 May 1996 18:30:07 +0000
(18:30 +0000)
committer
Jason Merrill
<merrill@gnu.org>
Fri, 10 May 1996 18:30:07 +0000
(18:30 +0000)
declared static and not defined.
From-SVN: r11966
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index 0da807a7deea9456ac1bc11c5d61bf4152264b70..c3cb8b74dbfcd3e8a58679f18e0f5a5ce15e842b 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-2398,6
+2398,7
@@
compile_file (name)
|| TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)))
&& DECL_INITIAL (decl) == 0
&& DECL_EXTERNAL (decl)
+ && ! DECL_ARTIFICIAL (decl)
&& ! TREE_PUBLIC (decl))
{
pedwarn_with_decl (decl,