From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A4E083858438; Tue, 19 Dec 2023 03:44:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A4E083858438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702957483; bh=2PlZcOkkT02U2SrfhnOfAQrEpUx0QBVtPfKNuKsD0rg=; h=From:To:Subject:Date:From; b=ndEQ1JiTbhUM3d+w+etOvjshkoW8wYUIBC0nUWi6JHaA7KazoN41oihKl4sYvSGu1 CRMUxNjtJMe66QuSfiGiKpaNk3s4Pvf65dwzcUbzIr1e/VRcXfSfy013M2deeVuzpP 8huwKexVBU+HzfSfaThGl1sDiistozumfO5N4jE8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113077] New: [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection` Date: Tue, 19 Dec 2023 03:44:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget 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=3D113077 Bug ID: 113077 Summary: [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection` Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: aarch64-linux-gnu Reduced testcase: ``` void add_key(const void *payload); void act_keyctl_test(void) { char buf[1030 * 1024]; int i =3D 0; for (i =3D 0; i < sizeof(buf); i++)=20 { add_key(buf); } } ``` ``` $ ./install/bin/aarch64-linux-gnu-gcc Hgs7.i -O2 -S=20=20=20 -fstack-protector-strong -fstack-clash-protection during RTL pass: dwarf2 keyctl_testing.c: In function =E2=80=98act_keyctl_test_limits2=E2=80=99: keyctl_testing.c:225:1: internal compiler error: in dwarf2out_frame_debug_cfa_offset, at dwarf2cfi.cc:1376 0x78228a dwarf2out_frame_debug_cfa_offset ../../gcc/dwarf2cfi.cc:1376 0x78228a dwarf2out_frame_debug ../../gcc/dwarf2cfi.cc:2285 0x78228a scan_insn_after ../../gcc/dwarf2cfi.cc:2726 0xb8c55b scan_trace ../../gcc/dwarf2cfi.cc:2893 0xb8ccbe create_cfi_notes ../../gcc/dwarf2cfi.cc:2933 0xb8ccbe execute_dwarf2_frame ../../gcc/dwarf2cfi.cc:3309 0xb8ccbe execute ../../gcc/dwarf2cfi.cc:3797 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ```=