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

            Bug ID: 77684
           Summary: many tree-prof testsuite failures in parallel make
                    check
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

As discussed in https://gcc.gnu.org/ml/gcc/2016-09/msg00107.html, there are a
number of failures in different tests in the tree-prof directory when make
check is run in parallel (e.g., with -j8)  none of which are reproducible with
-j1.  For example:

Serial make check passes:
$ make -C /build/gcc-49905 check-c RUNTESTFLAGS='tree-prof.exp'
...
                === gcc Summary ===

# of expected passes            307
# of unsupported tests          48
/build/gcc-49905/gcc/xgcc  version 7.0.0 20160920 (experimental) (GCC)


Parallel make check fails a bunch of different tests each time
it's run:

$ make -C /build/gcc-49905 -j80 -k check-c RUNTESTFLAGS='tree-prof.exp' 2>&1 |
grep FAIL

FAIL: gcc.dg/tree-prof/peel-1.c execution,    -g
FAIL: gcc.dg/tree-prof/update-tailcall.c execution,    -g
FAIL: gcc.dg/tree-prof/cold_partition_label.c execution,    -g
FAIL: gcc.dg/tree-prof/val-prof-1.c execution,    -g
FAIL: gcc.dg/tree-prof/pr45354.c execution,    -g
FAIL: gcc.dg/tree-prof/val-prof-2.c execution,    -g
FAIL: gcc.dg/tree-prof/crossmodule-indircall-1.c execution,    -g
FAIL: gcc.dg/tree-prof/crossmodule-indircall-1a.c execution,    -g
FAIL: gcc.dg/tree-prof/pr52027.c execution,    -g
FAIL: gcc.dg/tree-prof/20041218-1.c execution,    -g

and again:

$ nice make -C /build/gcc-49905 -j80 -k check-c RUNTESTFLAGS='tree-prof.exp'
2>&1 | grep FAIL

FAIL: gcc.dg/tree-prof/bb-reorg.c execution,    -g
FAIL: gcc.dg/tree-prof/prof-robust-1.c execution,    -g
FAIL: gcc.dg/tree-prof/update-loopch.c execution,    -g
FAIL: gcc.dg/tree-prof/crossmodule-indircall-1a.c execution,    -g
FAIL: gcc.dg/tree-prof/switch-case-2.c execution,    -g
FAIL: gcc.dg/tree-prof/ic-misattribution-1.c execution,    -g
FAIL: gcc.dg/tree-prof/tracer-1.c execution,    -g

Reply via email to