libgomp testsuite: tell warning from error diagnostics, etc. [PR80219, PR85303]

Thomas Schwinge thomas@codesourcery.com
Mon Nov 2 13:35:25 GMT 2020


Hi!

On 2020-10-30T12:25:38+0100, Jakub Jelinek via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
> On Fri, Oct 30, 2020 at 12:22:31PM +0100, Thomas Schwinge wrote:
>> Turns out that GCC PR85303 "[testsuite, libgomp] dg-message not
>> supported" is the very same problem as (the libgomp aspect of) GCC
>> PR80219 "relative line numbers only working if gcc_{error,warning}_prefix
>> defined" (see rationale in there).  OK to push the attached patch for
>> "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'.  (No testsuite regressions.)
>
> Ok, thanks.

As posted, pushed "libgomp testsuite: tell warning from error
diagnostics, etc. [PR80219, PR85303]" to master branch in commit
528507fa0314c75d1105890e4781a475c8badd7c, and backported to
releases/gcc-10 branch in commit
591e878fc6dd08502429a8e480d8e7d966836ca9, releases/gcc-9 branch in commit
d824c5df1714403067f2a7170dd884887ce04712, releases/gcc-8 branch in commit
3940a3ff2be0b445a5b24a222e83669e570f32a9.


Grüße
 Thomas


-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgomp-testsuite-tell-warning-from-error-diagnostic.patch
Type: text/x-diff
Size: 1283 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201102/e4a7d76a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgomp-testsuite-tell-warning-from-error-diagno.g10.patch
Type: text/x-diff
Size: 1353 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201102/e4a7d76a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgomp-testsuite-tell-warning-from-error-diagnos.g9.patch
Type: text/x-diff
Size: 1353 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201102/e4a7d76a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgomp-testsuite-tell-warning-from-error-diagnos.g8.patch
Type: text/x-diff
Size: 1353 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201102/e4a7d76a/attachment-0003.bin>


More information about the Gcc-patches mailing list