On Wed, Dec 20, 2023 at 7:56 AM Patrick Palka <ppa...@redhat.com> wrote:
>
> On Tue, 19 Dec 2023, Sandra Loosemore wrote:
>
> > On 12/6/23 22:11, Ken Matsui wrote:
> > > This patch series optimizes type traits compilation performance by
> > > implementing built-in type traits and using them in libstdc++.
> >
> > I'm finding that all the new g++.dg/ext/is_*.C testcases added by this patch
> > series are failing due
> > to the "#include <testsuite_tr1.h>".  If that is supposed to refer to the 
> > file
> > of that name in the libstdc++ testcase, there's no gcc option being passed 
> > to
> > add that location to the include search path.  That .h file includes other
> > header files from the libstdc++ testsuite so just copying it into the same
> > directory as the new g++ tests doesn't work.  Can you fix this, somehow?
>
> Looks like the testcases only use the trivial definition of
> __gnu_test::ClassType from the header, so perhaps we can just define it
> locally and remove this header include (which IIUC is intended to be
> used for library tests run by the libstdc++ test harness, not front-end
> tests).
>
> Ken, do you want to submit a patch for that?  (A full bootstrap +
> regtest wouldn't be necessary, it should suffice to re-run the changed
> tests via e.g. make check RUNTESTFLAGS="dg.exp=*ext*")
>

Sure!  Let me fix this problem :)

> >
> > Target is nios2-elf, if that matters.
> >
> > -Sandra
> >
> >
>

Reply via email to