[Bug target/90547] [8/9/10 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

uros at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 22 18:49:00 GMT 2019


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

--- Comment #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed May 22 18:49:22 2019
New Revision: 271516

URL: https://gcc.gnu.org/viewcvs?rev=271516&root=gcc&view=rev
Log:
        Backported from mainline
        2019-05-21  Uroš Bizjak  <ubizjak@gmail.com>

        * config/i386/cpuid.h (__cpuid): For 32bit targets, zero
        %ebx and %ecx bafore calling cpuid with leaf 1 or
        non-constant leaf argument.

        2019-05-21  Uroš Bizjak  <ubizjak@gmail.com>

        PR target/90547
        * config/i386/i386.md (anddi_1 to andsi_1_zext splitter):
        Avoid calling gen_lowpart with CONST operand.

testsuite/ChangeLog:

        Backported from mainline
        2019-05-21  Uroš Bizjak  <ubizjak@gmail.com>

        PR target/90547
        * gcc.target/i386/pr90547.c: New test.


Added:
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr90547.c
Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/config/i386/cpuid.h
    branches/gcc-9-branch/gcc/config/i386/i386.md
    branches/gcc-9-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list