[Bug target/87550] Intrinsics for rdpmc (__rdpmc, __builtin_ia32_rdpmc) are interpreted as pure functions

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 11 17:42:00 GMT 2018


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 11 17:41:33 2018
New Revision: 265049

URL: https://gcc.gnu.org/viewcvs?rev=265049&root=gcc&view=rev
Log:
        Backported from mainline
        2018-10-10  Jakub Jelinek  <jakub@redhat.com>

        PR target/87550
        * config/i386/i386-builtin.def (IX86_BUILTIN_RDPMC): Move from args set
        to special_args set.

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

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr87550.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/i386/i386-builtin.def
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list