https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95720
Bug ID: 95720
Summary: New dump output filename strategy invalidates tests
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: akrl at gcc dot gnu.org
Target Milestone: ---
GCC invoked as 'gcc foo.c --save-temps -o foo.out' produces an assembly
file named 'foo.out-foo.s'.
AFAIU this is consequence of "1dedc12d186 * revamp dump and aux output
names".
This behavior is causing tests in the testsuite relying on
--save-temps to scan the assembly to be marked as unresolved because
dejagnu failing to find the output assembly file.
One example from a gcc.log:
gcc.target/arm/memset-inline-1.c: output file does not exist
UNRESOLVED: gcc.target/arm/memset-inline-1.c scan-assembler-not bl?[ \t]*memset
Wasn't sure if the right component to be categorized in is testsuite or driver.
Bests
Andrea