From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48616 invoked by alias); 28 Oct 2015 13:32:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 48577 invoked by uid 55); 28 Oct 2015 13:32:50 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [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 Date: Wed, 28 Oct 2015 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg02363.txt.bz2 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 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