[Bug testsuite/80221] Contrib script to rewrite testcase from absolute to relative line numbers
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 28 08:09:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80221
--- Comment #18 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #9)
> You could further optimize the script to omit "." locations: if the "dg-*"
> directive actually is placed on the appropriate line already.
I did this in a separate cleanup action, which I implemented using find and
sed.
Commited in r247363 "Remove superfluous ' . ' in
dg-(error|warning|message|bogus)".
More information about the Gcc-bugs
mailing list