On Fri, Dec 18, 2020 at 08:15:56PM +0000, Kwok Cheung Yeung wrote: > On 18/12/2020 7:31 pm, Jakub Jelinek wrote: > > On Fri, Dec 18, 2020 at 03:10:52PM +0000, Kwok Cheung Yeung wrote: > > > 2020-12-17 Kwok Cheung Yeung <k...@codesourcery.com> > > > > > > gcc/testsuite/ > > > * g++.dg/gomp/declare-target-3.C: New. > > > > Note the test fails on the trunk when one doesn't have offloading > > configured. IL scan tests are always problematic, different between > > offloading and no offloading... > > Oops. This patch disables the scan for .offload_var_table entries in the > assembler if offloading is not enabled. The gimple tests appear to be okay > though? > > Okay for trunk?
Ok, thanks. > commit f427d4eaddbd1ee4001e057b231c92fdd9fc66f5 > Author: Kwok Cheung Yeung <k...@codesourcery.com> > Date: Fri Dec 18 12:05:20 2020 -0800 > > openmp: Fix g++.dg/gomp/declare-target-3.C testcase when offloading is > disabled > > 2020-12-18 Kwok Cheung Yeung <k...@codesourcery.com> > > gcc/testsuite/ > * g++.dg/gomp/declare-target-3.C: Only check .offload_var_table > entries if offloading is enabled. Jakub