Improve check-function-bodies by allowing single-character function names.
gcc/testsuite:
* lib/scanasm.exp (configure_check-function-bodies): Allow single-char
function names.
# Regexp for the start of a function definition (name in \1).
if { [istarget nvptx*-*-*] } {
set up_config(start) {
- {^// BEGIN(?: GLOBAL|) FUNCTION DEF: ([a-zA-Z_]\S+)$}
+ {^// BEGIN(?: GLOBAL|) FUNCTION DEF: ([a-zA-Z_]\S*)$}
}
} elseif { [istarget *-*-darwin*] } {
set up_config(start) {
- {^_([a-zA-Z_]\S+):$}
+ {^_([a-zA-Z_]\S*):$}
{^LFB[0-9]+:}
}
} else {
- set up_config(start) {{^([a-zA-Z_]\S+):$}}
+ set up_config(start) {{^([a-zA-Z_]\S*):$}}
}
# Regexp for the end of a function definition.