https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111390

            Bug ID: 111390
           Summary: 'make check-compile' target is not useful
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

This makefile target does compilation-only testing, to check that tests can be
built. But there's no parallelism, so it takes ages. Worse, it ignores dejagnu
directives so just runs everything with a default set of options, including the
implicit -std=gnu++17

This means that all C++20 and later tests fail. And any XFAIL tests with
dg-error directives "fail" noisily.

I'm not sure it is useful to keep it.

If we want to do compilation-only testing, I think it would be better to modify
the dejagnu procs so that "do-do run" tests are treated as "dg-do compile".

Reply via email to