projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da405c7
)
* decl.c (cp_finish_decl): Do not worry about used attribute.
author
Jan Hubicka
<jh@suse.cz>
Thu, 13 May 2010 17:49:49 +0000
(19:49 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Thu, 13 May 2010 17:49:49 +0000
(17:49 +0000)
From-SVN: r159372
gcc/cp/ChangeLog
patch
|
blob
|
history
gcc/cp/decl.c
patch
|
blob
|
history
diff --git
a/gcc/cp/ChangeLog
b/gcc/cp/ChangeLog
index 42eb59d5c93b8fd48f09aeda60a69761869b6dae..39766ac8cb15de935685d6e27dab311e2f1edd4e 100644
(file)
--- a/
gcc/cp/ChangeLog
+++ b/
gcc/cp/ChangeLog
@@
-1,3
+1,7
@@
+2010-05-13 Jan Hubicka <jh@suse.cz>
+
+ * decl.c (cp_finish_decl): Do not worry about used attribute.
+
2010-05-12 Jason Merrill <jason@redhat.com>
* typeck.c (build_array_ref): Take complain parm.
diff --git
a/gcc/cp/decl.c
b/gcc/cp/decl.c
index 11fac713b3fd895088de3ee03a16d82dad4043d8..05aff918d1e7034dd597d405206fa13a03f0d091 100644
(file)
--- a/
gcc/cp/decl.c
+++ b/
gcc/cp/decl.c
@@
-6022,10
+6022,6
@@
cp_finish_decl (tree decl, tree init, bool init_const_expr_p,
if (was_readonly)
TREE_READONLY (decl) = 1;
-
- /* If this was marked 'used', be sure it will be output. */
- if (lookup_attribute ("used", DECL_ATTRIBUTES (decl)))
- mark_decl_referenced (decl);
}
/* Returns a declaration for a VAR_DECL as if: