From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30053 invoked by alias); 4 Nov 2014 12:14:33 -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 30016 invoked by uid 48); 4 Nov 2014 12:14:29 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/63734] [5.0 regression] FAIL: gcc.dg/torture/vshuf-v8qi.c -O2 (internal compiler error) Date: Tue, 04 Nov 2014 12:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 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: 2014-11/txt/msg00179.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63734 --- Comment #1 from Marc Glisse --- My first impression is that this is a target issue, we should be able to call TARGET_VECTORIZE_VEC_PERM_CONST_OK from gimple. Either the target should avoid calling gen_reg_rtx when we are only calling the predicate, or it should do what is necessary to make gen_reg_rtx not fail. I am surprised because I would expect it to be reproducible (with a different testcase) without my patch, since vector lowering calls can_vec_perm_p. Does anyone have a different interpretation of what is happening?