diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-27 17:28:29 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-27 17:28:29 +0000 |
commit | 16d1038ecfe2e30bd34c35ec707ae368d61a8315 (patch) | |
tree | e8371e2bd55d0101e7953df2b010d8728df9898f | |
parent | 00ef4b3442ad52458780911663f2c1b3047abf32 (diff) | |
download | gcc-16d1038ecfe2e30bd34c35ec707ae368d61a8315.tar.gz |
* dbxout.c (dbxout_finish_complex_stabs): Mark 'line' variable
ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89692 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/dbxout.c | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9102abc9e06..de5c50fccd1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-10-27 Zack Weinberg <zack@codesourcery.com> + * dbxout.c (dbxout_finish_complex_stabs): Mark 'line' variable + ATTRIBUTE_UNUSED. + +2004-10-27 Zack Weinberg <zack@codesourcery.com> + * c-lex.c (cb_def_pragma): Clean up code for making location palatable to diagnostic.c. @@ -173,7 +178,7 @@ 2004-10-26 Fariborz Jahanian <fjahanian@apple.com> - * config/rs6000/rs6000.md (andsi3_internal8): Set CR when splitting + * config/rs6000/rs6000.md (andsi3_internal8): Set CR when splitting into rotlsi3. 2004-10-26 Kazu Hirata <kazu@cs.umass.edu> diff --git a/gcc/dbxout.c b/gcc/dbxout.c index e67008f9ef5..a8486f5c1a2 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -833,10 +833,11 @@ static void dbxout_finish_complex_stabs (tree sym, STAB_CODE_TYPE code, rtx addr, const char *label, int number) { - int line = sym ? DECL_SOURCE_LINE (sym) : 0; + int line ATTRIBUTE_UNUSED; char *str; size_t len; + line = sym ? DECL_SOURCE_LINE (sym) : 0; if (DBX_CONTIN_LENGTH > 0) { char *chunk; |