projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80716d
)
* c-decl.c (grokdeclarator): Remove unused variable "last".
author
Graham Stott
<grahams@rcp.co.uk>
Wed, 10 Jun 1998 22:36:37 +0000
(16:36 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Wed, 10 Jun 1998 22:36:37 +0000
(16:36 -0600)
From-SVN: r20422
gcc/ChangeLog
patch
|
blob
|
history
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index
8940ad5
..
f3696b9
100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-2,6
+2,8
@@
Wed Jun 10 23:23:17 1998 Graham <grahams@rcp.co.uk>
* c-decl.c (start_decl): Correct test for -Wmain.
+ * c-decl.c (grokdeclarator): Remove unused variable "last".
+
Wed Jun 10 14:52:27 1998 Jim Wilson <wilson@cygnus.com>
* expr.c (expand_builtin_setjmp): Store const1_rtx in target.
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index
dde17ad
..
0f5d21c
100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-5199,8
+5199,6
@@
grokdeclarator (declarator, declspecs, decl_context, initialized)
/* Record presence of `inline', if it is reasonable. */
if (inlinep)
{
- tree last = tree_last (TYPE_ARG_TYPES (type));
-
if (! strcmp (IDENTIFIER_POINTER (declarator), "main"))
warning ("cannot inline function `main'");
else