Re: [Patch] libgomp/testsuite: Fix checks for dg-excess-errors

2021-04-22 Thread Richard Biener
On Wed, 21 Apr 2021, Tobias Burnus wrote: > This was brought up by Richard when testing libgomp with the GCC 11 > distribution > compiler, which has both nvptx and gcn enabled – but no offloading device was > available. > > This lead to fails for: > * testsuite/libgomp.c-c++-common/function-not-o

Re: [Patch] libgomp/testsuite: Fix checks for dg-excess-errors

2021-04-21 Thread Jakub Jelinek via Gcc-patches
On Wed, Apr 21, 2021 at 07:04:17PM +0200, Tobias Burnus wrote: > OK for mainline and GCC 11? Ok for 12 and 11.2 (i.e. after 11.1 GA). > libgomp/testsuite: Fix checks for dg-excess-errors > > For the tests modified below, the effective target line has to be effective > when compiling for an offlo

[Patch] libgomp/testsuite: Fix checks for dg-excess-errors

2021-04-21 Thread Tobias Burnus
This was brought up by Richard when testing libgomp with the GCC 11 distribution compiler, which has both nvptx and gcn enabled – but no offloading device was available. This lead to fails for: * testsuite/libgomp.c-c++-common/function-not-offloaded.c: → function (on purpose) not marked for off