https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881

--- Comment #28 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:3e34c54d72f6e3723601bcd936409af4a42d17b8

commit r16-2072-g3e34c54d72f6e3723601bcd936409af4a42d17b8
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Jul 2 08:51:47 2025 +0800

    check-function-bodies: Support "^[0-9]+:"

    While working on

    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120936

    I tried to use check-function-bodies to verify that label for mcount
    and __fentry__ is only generated by "-pg" if it is used by __mcount_loc
    section:

    1:      call    mcount
            .section __mcount_loc, "a",@progbits
            .quad 1b
            .previous

    Add "^[0-9]+:" to check-function-bodies to allow:

    1:      call    mcount

            PR testsuite/120881
            * lib/scanasm.exp (check-function-bodies): Allow "^[0-9]+:".

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to