From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 51A7E3857835; Fri, 28 Apr 2023 08:18:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51A7E3857835 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682669888; bh=d0p1k/i7KceNdCsOhycxb7YPkBpt5j5HxKFk2wvQBoE=; h=From:To:Subject:Date:From; b=lfzYZYFYMqeLR5FtgylQsGR93Xb6/MzQ879wLAHdD9vfuQhXb0GTHKzn7lQEP/UFg G8UpXDOD1Wed6FDZ2PaVfY56FW7NoFkZlANOsSG8GBwEvfjHKVLdSlK09/UL1nFGOF bPNZ/Q4LtuOa43y1uq7eNyP+sqc2oC3ieGR8TxJc= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109661] New: [13/14 Regression] ICE in aarch64_function_arg_alignment when building erlang Date: Fri, 28 Apr 2023 08:18:07 +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=3D109661 Bug ID: 109661 Summary: [13/14 Regression] ICE in aarch64_function_arg_alignment when building erlang 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: --- typedef unsigned long U __attribute__ ((aligned (sizeof (long)))); typedef enum : U { V =3D 0 } W; U foo (U a, W b) { return a + U (b); } ICEs on aarch64-linux with: rh2190219.C: In function =E2=80=98U foo(U, W)=E2=80=99: rh2190219.C:5:14: internal compiler error: in aarch64_function_arg_alignmen= t, at config/aarch64/aarch64.cc:7500 5 | foo (U a, W b) | ^ 0x1e05aef aarch64_function_arg_alignment ../../gcc/config/aarch64/aarch64.cc:7500 0x1e063dd aarch64_layout_arg ../../gcc/config/aarch64/aarch64.cc:7716 0x1e06fda aarch64_function_arg_advance ../../gcc/config/aarch64/aarch64.cc:7963 0x1dfbe52 aarch64_takes_arguments_in_sve_regs_p ../../gcc/config/aarch64/aarch64.cc:4023=