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

--- Comment #20 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Kewen Lin <li...@gcc.gnu.org>:

https://gcc.gnu.org/g:4d22de945430e6f8c33ef98c90a4fad8de0ef41e

commit r13-7953-g4d22de945430e6f8c33ef98c90a4fad8de0ef41e
Author: Kewen Lin <li...@linux.ibm.com>
Date:   Sun Oct 15 21:05:40 2023 -0500

    rs6000: Skip empty inline asm in rs6000_update_ipa_fn_target_info
[PR111366]

    PR111366 exposes one thing that can be improved in function
    rs6000_update_ipa_fn_target_info is to skip the given empty
    inline asm string, since it's impossible to adopt any
    hardware features (so far HTM).

    Since this rs6000_update_ipa_fn_target_info related approach
    exists in GCC12 and later, the affected project highway has
    updated its target pragma with ",htm", see the link:
    https://github.com/google/highway/commit/15e63d61eb535f478bc
    I'd not bother to consider an inline asm parser for now but
    will file a separated PR for further enhancement.

            PR target/111366

    gcc/ChangeLog:

            * config/rs6000/rs6000.cc (rs6000_update_ipa_fn_target_info): Skip
            empty inline asm.

    gcc/testsuite/ChangeLog:

            * g++.target/powerpc/pr111366.C: New test.

    (cherry picked from commit a65b38e361320e0aa45adbc969c704385ab1f45b)

Reply via email to