[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
Tue Apr 18 12:47:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80221
--- Comment #13 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 41216
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41216&action=edit
updated script patch
This updated patch rewrites a line from absolute to relative linenumber if:
- the relative line number is '.-1', '.' or '.+1', or
- it's adjacent to a line we will rewrite (with the line numbers being
consecutive)
The biggest relative line number generated by the script is 6.
More information about the Gcc-bugs
mailing list