diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2025-07-29 10:38:58 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2025-07-29 11:00:26 -0700 |
commit | 688f1947bd5453632a8973d1d5fba68169c9d1a9 (patch) | |
tree | 3a8927d3ea6f7119c266c0cae6d2d56634c83460 /gcc/common/config | |
parent | 241380c6d632eb6d6595c0976663a29a9be47507 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
testsuite: Cleanup after auto-profile testcases when auto-profile is not supported [PR121215]HEADtrunkmaster
The problem here is that in tree-prof.exp does not cleanup if requiring auto-profile
but it is not supported and the testcase uses dg-additional-sources. Currently additional_sources
is not reset to "" and then another testcase comes along and thinks that is the additional source
to be added.
Committed as obvious after testing:
make check-gcc RUNTESTFLAGS="tree-prof.exp=afdo-crossmodule-1.c tree-ssa.exp=pr67891.c"
to make sure pr67891.c now no longer uses the additional source.
PR testsuite/121215
gcc/testsuite/ChangeLog:
* lib/profopt.exp (profopt-execute): Call cleanup-after-saved-dg-test
if returning early for the -fauto-profile case failing case.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/common/config')
0 files changed, 0 insertions, 0 deletions