On Fri, Mar 04, 2016 at 05:01:34PM +0100, Martin Jambor wrote: > Not in the limited runs that I experimented with so far, but I > certainly kept this possibility in mind too. If so, I would either > set it back before invoking dg-finish or dismiss the whole idea. > > > > However, the C++ and Fortran cases use gfortran-dg-runtest to cycle > > > through a set of torture options and I have not yet discovered the > > > right magic variable to set (for example, adding -Wno-hsa to > > > DG_TORTURE_OPTIONS elements does not work). > > > > > > I'm afraid I have spent way too much time on this already, so unless > > > someone has any ideas, I'd suggest that we use the (already approved) > > > name-changing gomp patch as it is. Or at least for C++ and Fortran. > > > > Do you have URL for what you refer to? > > > > Sure, the patch has been posted here: > > https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00071.html
For the g*.dg/gomp/, if you'd only move -Wno-hsa into the last argument next to -fopenmp, how many tests would be affected? If not really many, perhaps those could be changed to use dg-additional-options instead of dg-options. Jakub