From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CC74F3858C2C; Wed, 20 Dec 2023 10:21:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC74F3858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703067673; bh=IRnOhVBjYgQzHJwJnK3PWhFhfEV+YuEyh+IlQ69KOtQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fCn8Ke1QKeyb9KC2mH7Bfv484hX/fNHISept//vUVgKuN7jSlJ+SC1HXjINcA9mg3 cc5phqEgP8ZKcU8cSTtGWftwNM6XwG9vi4x3x4VaLcH2jsKZf+uR20+8FgN9GY/Uty WXif1XFNtjgYWsDv96RqU4nEw2e/e8tFq1775DCE= From: "manolis.tsamis at vrull dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113089] [14 Regression][aarch64] ICE in process_uses_of_deleted_def, at rtl-ssa/changes.cc:252 since r14-6605-gc0911c6b357ba9 Date: Wed, 20 Dec 2023 10:21:13 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: manolis.tsamis at vrull dot eu X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D113089 Manolis Tsamis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manolis.tsamis at vrull do= t eu --- Comment #2 from Manolis Tsamis --- The following testcase, reduced from x264 intrapred_chroma_plane: typedef unsigned short uint16; void intrapred_chroma_plane(uint16 ***mb_preds, int* max_imgpel_values, int crx, int cry, int px) { for (int uv =3D 0; uv < 2; uv++) { uint16 **mb_pred =3D mb_preds[uv + 1]; uint16 **predU2 =3D &mb_pred[px - 2]; uint16 *upPred =3D &mb_pred[px][px]; int max_imgpel_value =3D max_imgpel_values[uv]; int ih =3D upPred[crx - 1]; for (int i =3D 0; i < crx*3; ++i) ih +=3D upPred[crx*3]; int iv =3D (mb_pred[cry - 1][px+1]);=20=20 for (int i =3D 0; i < cry - 1; ++i) { iv +=3D (i + 1) * (*(mb_preds[uv][0]) - *(*predU2--)); } for (int j =3D 0; j < cry; ++j) for (int i =3D 0; i < crx; ++i) mb_pred[j][i] =3D (uint16) (max_imgpel_value * ((i * ih + iv))); } } reproduces the same ICE issue when compiled with: gcc -g -O2 -funroll-loops -fno-strict-aliasing intra_chroma_pred.c=