projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be97202
)
(finish_decl): Preserve initialializer if iterator.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 29 Jul 1994 23:26:59 +0000
(19:26 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 29 Jul 1994 23:26:59 +0000
(19:26 -0400)
From-SVN: r7829
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 40c43f884925796c267f8724929ee59014032aff..9f143d86fb4e861d31a2c14664339978ca76abfd 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-3673,7
+3673,7
@@
finish_decl (decl, init, asmspec_tree)
references to it. */
/* This test used to include TREE_STATIC, but this won't be set
for function level initializers. */
- if (TREE_READONLY (decl))
+ if (TREE_READONLY (decl)
|| ITERATOR_P (decl)
)
{
preserve_initializer ();
/* Hack? Set the permanent bit for something that is permanent,