[Bug target/68102] [5/6 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1782 with float64x1_t @ aarch64

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 28 13:32:00 GMT 2015


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

--- Comment #4 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Wed Oct 28 13:32:17 2015
New Revision: 229483

URL: https://gcc.gnu.org/viewcvs?rev=229483&root=gcc&view=rev
Log:
[AArch64] PR 68102: Check that operand is REG before checking the REGNO in
mov-immediate splitters

        Backport from mainline
        2015-10-27  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

        PR target/68102
        * config/aarch64/aarch64.md (*movsi_aarch64): Check that
        operands[0] is a reg before taking its REGNO in split condition.
        (*movdi_aarch64): Likewise.

        * gcc.target/aarch64/pr68102_1.c: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/aarch64/pr68102_1.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/aarch64/aarch64.md
    branches/gcc-5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list