On Wed, Dec 02, 2026 at 02:58:13PM +0000, Jonathan Wakely wrote:
> > > I didn't try it - I'll to that today.
> >
> > Just
> > GXX_TESTSUITE_STDS=98,11,14,17,20,23,26,29 make -C gcc check-g++ 
> > RUNTESTFLAGS=plugin.exp=uglification*
> > should do it.
> > Though maybe we don't include the PSTL headers in bits/stdc++.h.
> > In that case at least testing it by hand once could be useful (just
> > include some of the headers in gcc/testsuite/g++.dg/plugin/uglification*.C
> > ).
> > At least I see
> > // #include <execution>
> 
> Ah yes, we currently exclude that because it includes TBB headers if
> present, and those use non-reserved names. But after this work is
> pushed, we could include <execution> and force the non-TBB and
> non-OpenMP backends. That would only test the non-TBB and non-OpenMP
> parts of PSTL, but that's still most of the code.

We could add further tests in that directory, have the current ones
compiled without -fopenmp and use the serial backend and then have
further tests (just for the language versions with <execution>) compiled
with -fopenmp (use fopenmp effective target and -fopenmp in dg-options
and either let bits/stdc++.h include execution, or have the tests do so).

        Jakub

Reply via email to