https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121215
Bug ID: 121215
Summary: [16 Regression] random testsuite fails due to
afdo-crossnodule-1[b].c addidional sources
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
When doing parallel testing with -j64 I experience random testcases becoming
UNRESOLVED. An example from the last instance is
Executing on host: /home/rguenther/obj/gcc/xgcc -B/home/rguenther/obj/gcc/
/home/rguenther/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr67891.c
-fdiagnostics-plain-output -O -fdump-tree-fre1
/home/rguenther/gcc/gcc/testsuite/gcc.dg/tree-ssa/afdo-crossmodule-1b.c
/home/rguenther/gcc/gcc/testsuite/gcc.dg/tree-ssa/afdo-crossmodule-1.c
-dumpbase "" -S -o pr67891.s (timeout = 300)
spawn -ignore SIGHUP /home/rguenther/obj/gcc/xgcc -B/home/rguenther/obj/gcc/
/home/rguenther/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr67891.c
-fdiagnostics-plain-output -O -fdump-tree-fre1
/home/rguenther/gcc/gcc/testsuite/gcc.dg/tree-ssa/afdo-crossmodule-1b.c
/home/rguenther/gcc/gcc/testsuite/gcc.dg/tree-ssa/afdo-crossmodule-1.c
-dumpbase -S -o pr67891.s
xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple
files
compilation terminated.
compiler exited with status 1
FAIL: gcc.dg/tree-ssa/pr67891.c (test for excess errors)
Excess errors:
xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple
files
compilation terminated.
gcc.dg/tree-ssa/pr67891.c: dump file does not exist
UNRESOLVED: gcc.dg/tree-ssa/pr67891.c scan-tree-dump-not fre1 "= [dbc];"
there only mention of afdo-crossmodule in the testsuite is from
./gcc.dg/tree-prof/afdo-crossmodule-1.c:/* { dg-additional-sources
"afdo-crossmodule-1b.c" } */
./gcc.dg/tree-prof/afdo-crossmodule-1b.c:/* { dg-additional-sources
"afdo-crossmodule-1.c" } */
so I wonder whether dg-additional-sources clobbers some global state
that leaks elsewhere with a parallel execution of the testsuite.