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

--- Comment #13 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:d6bb1e257fc414d21bc31faa7ddecbc93a197e3c

commit r15-3222-gd6bb1e257fc414d21bc31faa7ddecbc93a197e3c
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Tue Aug 27 07:03:22 2024 -0700

    Extend check-function-bodies to allow label and directives

    As PR target/116174 shown, we may need to verify labels and the directive
    order.  Extend check-function-bodies to support matched output lines to
    allow label and directives.

    gcc/

            * doc/sourcebuild.texi (check-function-bodies): Add an optional
            argument for matched output lines.

    gcc/testsuite/

            * gcc.target/i386/pr116174.c: Use check-function-bodies.
            * lib/scanasm.exp (parse_function_bodies): Append the line if
            $up_config(matched) matches the line.
            (check-function-bodies): Add an argument for matched.  Set
            up_config(matched) to $matched.  Append the expected line without
            $config(line_prefix) to function_regexp if it starts with ".L".

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

Reply via email to