aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/dbxout.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9102abc..de5c50f 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 e67008f..a8486f5 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;