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

--- Comment #8 from CVS 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:5463cee277038df4688b61144db498ae7d24e631

commit r11-7910-g5463cee277038df4688b61144db498ae7d24e631
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Tue Mar 23 20:04:58 2021 -0700

    x86: Define __rdtsc and __rdtscp as macros

    Define __rdtsc and __rdtscp as macros for callers with general-regs-only
    target attribute to avoid inline failure with always_inline attribute.

    gcc/

            PR target/99744
            * config/i386/ia32intrin.h (__rdtsc): Defined as macro.
            (__rdtscp): Likewise.

    gcc/testsuite/

            PR target/99744
            * gcc.target/i386/pr99744-1.c: New test.

Reply via email to