[gcc r16-6760] Clarify function body mismatch
Nathan Sidwell
nathan@gcc.gnu.org
Wed Jan 14 01:29:20 GMT 2026
https://gcc.gnu.org/g:7ad74d93c677054f75c2b61452a500f471a614a3
commit r16-6760-g7ad74d93c677054f75c2b61452a500f471a614a3
Author: Nathan Sidwell <nathan@acm.org>
Date: Thu Dec 18 09:11:05 2025 -0500
Clarify function body mismatch
Clearly label the expected and found function bodies.
gcc/testsuite/
* lib/scanasm.exp (check_function_body): Clarify mismatch labelling.
Diff:
---
gcc/testsuite/lib/scanasm.exp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index c414d44f0f0e..bcd22c2d7e4e 100644
--- a/gcc/testsuite/lib/scanasm.exp
+++ b/gcc/testsuite/lib/scanasm.exp
@@ -983,8 +983,8 @@ proc check_function_body { functions name body_regexp } {
}
set fn_res [regexp "^$body_regexp\$" $up_functions($name)]
if { !$fn_res } {
- verbose -log "body: $body_regexp"
- verbose -log "against: $up_functions($name)"
+ verbose -log "expected: $body_regexp"
+ verbose -log "found: $up_functions($name)"
}
return $fn_res
}
More information about the Gcc-cvs
mailing list