From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41124385E01F; Mon, 30 Mar 2020 09:55:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41124385E01F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585562118; bh=3iBR8Rjek8ky9XfhgWc7N7ka6klUF9Dp63dE38JhhIs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=q6KIwwz7vnVVW9UutyVJmEWWp1bJUODNRt6y/taLKIaaJXI80Di9UjMeqVbRTIuj5 wCEv/9DmNvHguabhX2cbiIiFbLFEVjgrqXixh8j6FnqXsdWgW70Po0bl5FhE13K6M+ vA45wZnnLGlpJKZDH5qH/BaikzmqEccaWX/6aLxU= From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/94398] ICE: in vectorizable_load, at tree-vect-stmts.c:9173 Date: Mon, 30 Mar 2020 09:55:18 +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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org 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: Mon, 30 Mar 2020 09:55:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94398 --- Comment #3 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #2) > But the ICE happens because the result from the function at transform time > does not match that at analysis time. >=20 > Richard? Looks like we're trying to compute: alignment_support_scheme =3D vect_supportable_dr_alignment (first_dr_info, false); gcc_assert (alignment_support_scheme); even for VMAT_GATHER_SCATTER, which always accesses individual elements. Guess we should set alignment_support_scheme to dr_unaligned_supported instead of calling vect_supportable_dr_alignment. The target hook is probably incorrect for SVE + -mstrict-align.=