diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-11 18:06:38 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-11 18:06:38 +0000 |
commit | 593ce148363575336c5952a29d09a79c2059ab15 (patch) | |
tree | 6f961733e541fe6548becb92c2103159978cbee8 /gcc/config/darwin-c.c | |
parent | 6123f1887471b932b279e1f086c730863838815f (diff) | |
download | gcc-593ce148363575336c5952a29d09a79c2059ab15.tar.gz |
* config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
not IDENTIFIER_LOCAL_VALUE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin-c.c')
-rw-r--r-- | gcc/config/darwin-c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c index 805a82486a2..045530d7b5b 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -136,7 +136,7 @@ darwin_pragma_unused (pfile) tok = c_lex (&decl); if (tok == CPP_NAME && decl) { - tree local = IDENTIFIER_LOCAL_VALUE (decl); + tree local = lookup_name (decl); if (local && (TREE_CODE (local) == PARM_DECL || TREE_CODE (local) == VAR_DECL)) TREE_USED (local) = 1; |