diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-08-20 20:50:57 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-08-20 20:50:57 +0000 |
commit | fe93253580050b8f1b4e81398839a53e3481d0e0 (patch) | |
tree | 54507722ae20bfba6fe8b80560b4c15631905b23 /gcc | |
parent | 48209ce53afe03d4d6fc5a28d70435a9fcca9f8a (diff) | |
download | gcc-fe93253580050b8f1b4e81398839a53e3481d0e0.zip gcc-fe93253580050b8f1b4e81398839a53e3481d0e0.tar.gz gcc-fe93253580050b8f1b4e81398839a53e3481d0e0.tar.bz2 |
* where.c (ffewhere_track): Remove impossible if-then clause.
From-SVN: r56469
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/f/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/f/where.c | 21 |
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)); } } |