Skip to content

Commit 75b49c0

Browse files
committed
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 <[email protected]>
1 parent 2b2d3a1 commit 75b49c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/testsuite/lib/scanasm.exp

+1-1
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ proc configure_check-function-bodies { config } {
895895
# example).
896896
set up_config(fluff) {^\s*(?://)}
897897
} elseif { [istarget *-*-darwin*] } {
898-
set up_config(fluff) {^\s*(?:\.|//|@)|^L[0-9ACESV]}
898+
set up_config(fluff) {^\s*(?:\.|//|@)|^L[0-9ABCESV]}
899899
} else {
900900
# Skip lines beginning with labels ('.L[...]:') or other directives
901901
# ('.align', '.cfi_startproc', '.quad [...]', '.text', etc.), '//' or

0 commit comments

Comments
 (0)