From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0ED89385842B; Thu, 23 Feb 2023 20:56:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0ED89385842B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677185763; bh=ah2z0j2OL7QTkIurJSxpfh5S6Hv95MWSjif4sw+mKt0=; h=From:To:Subject:Date:From; b=dMHjRQpG0NgULhV0UapFb36z3xI9OOLUc0M48GFAFzu4ZwSwh2enmAvKYihao6M3n UxThmPjOnDry3GtAxtXkEABO/knY6TEhCxyt2c8l+Btz94Nt3+/GUKp4DpvObhiaJZ lpLxo6/iwP53ooT7Z12uUgw376nYfl/BYcqYka5Y= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108910] New: [13 Regression] Further ICE in aarch64_layout_arg Date: Thu, 23 Feb 2023 20:56:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D108910 Bug ID: 108910 Summary: [13 Regression] Further ICE in aarch64_layout_arg Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- extern void foo (float, float *, float *); void bar (void *p) { float *__attribute__((aligned (64))) q =3D __builtin_assume_aligned (p, 6= 4); foo (0.0f, q, q); } ICEs on aarch64-linux with -O2 likely since r13-5124 with: during RTL pass: expand woohoo.c: In function =E2=80=98bar=E2=80=99: woohoo.c:7:3: internal compiler error: in aarch64_layout_arg, at config/aarch64/aarch64.cc:7688 7 | foo (0.0f, q, q); | ^~~~~~~~~~~~~~~~ 0x12c4993 aarch64_layout_arg ../../gcc/config/aarch64/aarch64.cc:7688 0x12c527a aarch64_function_arg ../../gcc/config/aarch64/aarch64.cc:7868 0xa44efb initialize_argument_information ../../gcc/calls.cc:1499 I know trying to overalign a pointer type (rather than what it points to) is very dumb, but some real-world code (most likely just by mistake (but many)) does that: https://github.com/darktable-org/darktable/blob/master/src/common/bspline.h= #L178=