dg-build in lib/dg.exp mishandles line-numbers

Hans-Peter Nilsson <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.bugs
Message-ID <[email protected]>
It should either (preferrably) replace the incoming line-number
(in [lindex $args 0]) with "" (matching any line) or re-format
it with dg-format-linenum, like dg-error does.  Right now it
matches e.g. 3 with 13 which is not right in any case.

Since dg-build does not accept a line-number in the test, I
don't think it should look at it at all.  See also
<URL:http://gcc.gnu.org/ml/gcc-patches/2002-10/msg01640.html>,
references and follow-ups.

brgds, H-P
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.