[Bug testsuite/80219] relative line numbers only working if gcc_{error,warning}_prefix defined
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 2 13:28:37 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80219
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Thomas Schwinge
<tschwinge@gcc.gnu.org>:
https://gcc.gnu.org/g:591e878fc6dd08502429a8e480d8e7d966836ca9
commit r10-8959-g591e878fc6dd08502429a8e480d8e7d966836ca9
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Thu Oct 29 10:29:19 2020 +0100
libgomp testsuite: tell warning from error diagnostics, etc. [PR80219,
PR85303]
This changes makes 'dg-warning', 'dg-error', 'dg-bogus', 'dg-message'
behave as
expected, and also enables use of relative line numbers as well as
'dg-line'.
libgomp/
PR testsuite/80219
PR testsuite/85303
* testsuite/lib/libgomp.exp (libgomp_init): Set
'gcc_warning_prefix', 'gcc_error_prefix'.
(cherry picked from commit 528507fa0314c75d1105890e4781a475c8badd7c)
More information about the Gcc-bugs
mailing list