------- Comment #21 from burnus at gcc dot gnu dot org  2010-09-10 07:25 -------
(In reply to comment #20)
> many thanks for working on this... I mentioned this before in the PR, but it
> would be very good if some line number testcases were added to the regression
> tests.

I concur - with -dump-tree-original-lineno this should be possible.

> If there would be some semi-automatic way of checking the lineno quality (such
> as e.g. in the original dump line numbers should always increase??)

No! As the example in comment 18 shows the line numbers should not always
monotonically  increase. Or at least I expect the "i = i + 1" to be associated
with the line
   do i = 1, 10
rather than with the line
      a(i) = b(i)
as the gfortran currently does. If you disagree, I can simply close this PR as
fixed ;-)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45186

Reply via email to