re PR target/85511 ([X86] Using __builtin_ia32_writeeflags_u32 in 64-bit mode causes...
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 Apr 2018 16:42:59 +0000 (18:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 Apr 2018 16:42:59 +0000 (18:42 +0200)
commite8ac3359dc7c105b7f1edcf866517d3d273303c5
tree1ff19017d859b10e48e58e07142886f6695875e2
parent8624f8685dd6538583e310db0fa4dc30e2f7d5bc
re PR target/85511 ([X86] Using __builtin_ia32_writeeflags_u32 in 64-bit mode causes internal compiler error)

PR target/85511
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Don't define
__builtin_ia32_readeflags_u32 and __builtin_ia32_writeeflags_u32
if TARGET_64BIT.

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

From-SVN: r259609
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr85511.c [new file with mode: 0644]