From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 96B503858291; Mon, 23 Jan 2023 10:51:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96B503858291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674471090; bh=yb49mAsNi9F8zW+xfdu/0+OdPd70g17kYSTAe3F9RIs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=m6q+GZ5pF4Pcyd3CgPNC9QCen3DQs+/33dszXGgo2Awxk+w+kaJovD3VgySXGBtb7 ucqsE/JIr78NgIam6iqKzkKoS0jl3cdNLpm8bew/NL5Jt3L6Z1mT9ObrM3pdvW0T29 UYT67qZH1VZf5j8eYr/LnUohOEKHmR3ev+bLZ7YI= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108482] [13 Regression] ice in expand_LOOP_DIST_ALIAS with -O3 -ftrivial-auto-var-init=zero Date: Mon, 23 Jan 2023 10:51:29 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108482 --- Comment #14 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ad4f8c4e375dd7603382ed3ff95bd184e1959918 commit r13-5300-gad4f8c4e375dd7603382ed3ff95bd184e1959918 Author: Richard Biener Date: Mon Jan 23 10:22:38 2023 +0100 tree-optimization/108482 - remove stray .LOOP_DIST_ALIAS calls The following deals with .LOOP_DIST_ALIAS surviving vectorization because any of the loops involved were elided between loop distribution and vectorization. As opposed to .LOOP_VECTORIZED which exists only between if-conversion and vectorization with no intermediate passes this is more difficult to deal with in advance and thus cleaning up after vectorization looks better. There's the unconditional vector lowering pass which looks like a good place for this (for SIMD uid we have pass_simduid_cleanup). PR tree-optimization/108482 * tree-vect-generic.cc (expand_vector_operations): Fold remaini= ng .LOOP_DIST_ALIAS calls. * gcc.dg/torture/pr108482.c: New testcase.=