aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/dwarf2out.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 91dc9e8..def4fca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-30 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * dwarf2out.c (file_name_acquire): Correct typo.
+
2006-10-29 Daniel Berlin <dberlin@dberlin.org>
* tree.h (tree_value_handle): Remove struct value_set declaration.
@@ -1426,7 +1430,7 @@
2006-10-06 Danny Smith <dannysmith@users.sourceforge.net>
- config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.
+ * config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.
2006-10-06 Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 2b0de93..0ba0220 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -7669,7 +7669,7 @@ file_name_acquire (void ** slot, void *data)
f = strrchr (f, DIR_SEPARATOR);
#if defined (DIR_SEPARATOR_2)
{
- char *g = strrchr (files[i].path, DIR_SEPARATOR_2);
+ char *g = strrchr (fi->path, DIR_SEPARATOR_2);
if (g != NULL)
{