From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BBD2F385DC1B; Fri, 8 May 2020 02:09:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBD2F385DC1B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588903770; bh=1jyLD+AcdJzEbuu11vwnUwg+katpCjIQCcKkhz8MMjs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CizOgsBQOpcZ404q5FHcOmG1YK+3ip/WSYbEzG0j2D0J3mKoAqKQ2tTuY/TEg0Vxj +BYwdv254TFLryWFiOiSVEevbL8oQxlu1HSFxgyuGQ8rz9bK8XR801WKYHk8WRTKII MG/1KqGpLxLG6J5IXC0E+ZzLEgtqI7YTyFMxKADw= From: "felix.yang at huawei dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94991] ICE: Segmentation fault with option -mgeneral-regs-only Date: Fri, 08 May 2020 02:09:30 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: felix.yang at huawei dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2020 02:09:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94991 --- Comment #1 from Fei Yang --- For the given testcase, we are doing FAIL for scalar floating move expand pattern since TARGET_FLOAT is false with option -mgeneral-regs-only. But mo= ve expand pattern cannot fail. It would be better to to replace the FAIL with = code that bitcasts to the equivalent integer mode, using gen_lowpart. Will prop= ose a patch for this.=