aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 25a14cb..088f0e7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-04 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * tree.c (annotate_with_file_line): Fix typo.
+
2005-10-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
PR ada/19382
diff --git a/gcc/tree.c b/gcc/tree.c
index 4140791..333c745 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -3151,7 +3151,7 @@ annotate_with_file_line (tree node, const char *file, int line)
entry cache can reduce the number of allocations by more
than half. */
if (last_annotated_node
- && last_annotated_node->line == line == line
+ && last_annotated_node->line == line
&& (last_annotated_node->file == file
|| !strcmp (last_annotated_node->file, file)))
{