aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/f/ChangeLog4
-rw-r--r--gcc/f/where.c21
2 files changed, 9 insertions, 16 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index aa78a93..1f260b1 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 20 16:49:40 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * where.c (ffewhere_track): Remove impossible if-then clause.
+
Thu Aug 8 10:06:14 2002 Nathan Sidwell <nathan@codesourcery.com>
* f/Make-lang.in (f.mostlyclean): Remove coverage files.
diff --git a/gcc/f/where.c b/gcc/f/where.c
index e7d2e99..db350e9 100644
--- a/gcc/f/where.c
+++ b/gcc/f/where.c
@@ -436,22 +436,11 @@ ffewhere_track (ffewhereLine *wl, ffewhereColumn *wc, ffewhereTrack wt,
else
{
wt[i * 2 - 2] = lo;
- if (cn > FFEWHERE_indexUNKNOWN)
- {
- wt[i * 2 - 1] = FFEWHERE_indexUNKNOWN;
- ffewhere_line_kill (*wl);
- ffewhere_column_kill (*wc);
- *wl = ffewhere_line_unknown ();
- *wc = ffewhere_column_unknown ();
- }
- else
- {
- wt[i * 2 - 1] = cn - 1;
- ffewhere_line_kill (*wl);
- ffewhere_column_kill (*wc);
- *wl = ffewhere_line_use (ffewhere_line_new (ln));
- *wc = ffewhere_column_use (ffewhere_column_new (cn));
- }
+ wt[i * 2 - 1] = cn - 1;
+ ffewhere_line_kill (*wl);
+ ffewhere_column_kill (*wc);
+ *wl = ffewhere_line_use (ffewhere_line_new (ln));
+ *wc = ffewhere_column_use (ffewhere_column_new (cn));
}
}