This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/79733] ICE in int_mode_for_mode, at stor-layout.c:406
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Apr 2017 21:06:40 +0000
- Subject: [Bug c/79733] ICE in int_mode_for_mode, at stor-layout.c:406
- Auto-submitted: auto-generated
- References: <bug-79733-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79733
--- Comment #9 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Apr 6 21:06:08 2017
New Revision: 246744
URL: https://gcc.gnu.org/viewcvs?rev=246744&root=gcc&view=rev
Log:
Backport from mainline
2017-04-06 Uros Bizjak <ubizjak@gmail.com>
PR target/79733
* config/i386/i386.c (ix86_expand_builtin)
<case IX86_BUILTIN_KORTEST{C,Z}16>: Determine insn operand
mode from insn data. Convert operands to insn operand mode.
Copy operands that don't satisfy insn predicate to a register.
2017-04-05 Uros Bizjak <ubizjak@gmail.com>
PR target/80298
* config/i386/mmintrin.h: Add -msse target option when __SSE__ is
not defined for x86_64 target. Add -mmmx target option when __SSE2__
is not defined.
* config/i386/mm3dnow.h: Add -msse target when __SSE__ is not defined
for x86_64 target.
testsuite/ChangeLog:
Backport from mainline
2017-04-06 Uros Bizjak <ubizjak@gmail.com>
PR target/79733
* gcc.target/i386/pr79733.c: New test.
2017-04-06 Uros Bizjak <ubizjak@gmail.com>
PR target/80298
* gcc.target/i386/pr80298-1.c: New test.
* gcc.target/i386/pr80298-2.c: Ditto.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr79733.c
branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr80298-1.c
branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr80298-2.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/i386/i386.c
branches/gcc-6-branch/gcc/config/i386/mm3dnow.h
branches/gcc-6-branch/gcc/config/i386/mmintrin.h
branches/gcc-6-branch/gcc/testsuite/ChangeLog