From: Iain Sandoe Date: Fri, 5 Apr 2024 09:54:58 +0000 (+0100) Subject: testsuite, Darwin: Account for block labels in function body scans. X-Git-Tag: basepoints/gcc-15~323 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75b49c0e9012f5ecef0d32f3f6a0d8da66517576;p=thirdparty%2Fgcc.git testsuite, Darwin: Account for block labels in function body scans. When we have '-O3 -g' we emit a bunch of LB{B,E} local labels which were not currently being discarded, leading to some test fails. Fixed by adding this case to the ignored labels. gcc/testsuite/ChangeLog: * lib/scanasm.exp: Add 'LB*' to the local labels that are ignored for Darwin. Signed-off-by: Iain Sandoe --- diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp index 741a5a048b81..6cf9997240de 100644 --- a/gcc/testsuite/lib/scanasm.exp +++ b/gcc/testsuite/lib/scanasm.exp @@ -895,7 +895,7 @@ proc configure_check-function-bodies { config } { # example). set up_config(fluff) {^\s*(?://)} } elseif { [istarget *-*-darwin*] } { - set up_config(fluff) {^\s*(?:\.|//|@)|^L[0-9ACESV]} + set up_config(fluff) {^\s*(?:\.|//|@)|^L[0-9ABCESV]} } else { # Skip lines beginning with labels ('.L[...]:') or other directives # ('.align', '.cfi_startproc', '.quad [...]', '.text', etc.), '//' or