https://gcc.gnu.org/g:c1f6fd0c61bf30333a5f2101b7bac6e487c56964

commit r17-518-gc1f6fd0c61bf30333a5f2101b7bac6e487c56964
Author: Uros Bizjak <[email protected]>
Date:   Thu May 14 22:55:13 2026 +0200

    testsuite: Remove debugging puts from check_profiling_available
    
    Remove a stray debugging puts and an unused global declaration from
    check_profiling_available. Neither affects the AutoFDO availability
    check, as the wrapper path is already computed by profopt-perf-wrapper.
    
    gcc/testsuite/ChangeLog:
    
            * lib/target-supports.exp (check_profiling_available): Remove
            unused global declaration and debugging output.

Diff:
---
 gcc/testsuite/lib/target-supports.exp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/testsuite/lib/target-supports.exp 
b/gcc/testsuite/lib/target-supports.exp
index 01582621f841..d1fcf943b211 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -794,8 +794,6 @@ proc check_profiling_available { test_what } {
            verbose "autofdo not supported"
            return 0
        }
-       puts $wrapper
-       global srcdir
        set status [remote_exec host "$wrapper true -v >/dev/null"]
        if { [lindex $status 0] != 0 } {
            verbose "autofdo not supported because perf does not work"

Reply via email to