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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:6987f16742bd4fc6bb8118b9efde52fb9169b327

commit r14-9172-g6987f16742bd4fc6bb8118b9efde52fb9169b327
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Mon Feb 26 07:30:05 2024 +0100

    i386: Fix up x86_function_profiler -masm=intel support [PR114094]

    In my r14-8214 changes I apparently forgot one \n at the end of an
instruction.
    The corresponding AT&T line looks like:
    "1:\tcall\t*%s@GOTPCREL(%%rip)\n"
    but the Intel variant was
    "1:\tcall\t[QWORD PTR %s@GOTPCREL[rip]]"

    Fixed thusly.

    2024-02-26  Jakub Jelinek  <ja...@redhat.com>

            PR target/114094
            * config/i386/i386.cc (x86_function_profiler): Add missing new-line
            to printed instruction.

            * gcc.target/i386/pr114094.c: New test.

Reply via email to