aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2024-04-05 10:54:58 +0100
committerIain Sandoe <iain@sandoe.co.uk>2024-04-05 19:10:57 +0100
commit75b49c0e9012f5ecef0d32f3f6a0d8da66517576 (patch)
tree963ed3fe8a15937c03b385be15fb163cfb99cdd9
parent2b2d3a135a43cbafadd8957e0b2543f38c390437 (diff)
downloadgcc-75b49c0e9012f5ecef0d32f3f6a0d8da66517576.zip
gcc-75b49c0e9012f5ecef0d32f3f6a0d8da66517576.tar.gz
gcc-75b49c0e9012f5ecef0d32f3f6a0d8da66517576.tar.bz2
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 <iain@sandoe.co.uk>
-rw-r--r--gcc/testsuite/lib/scanasm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index 741a5a0..6cf9997 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