From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E0E9385BF9E; Tue, 23 Mar 2021 10:45:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E0E9385BF9E From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99725] New: arm: ICE in dwarf2out_frame_debug_adjust_cfa with -mcmse Date: Tue, 23 Mar 2021 10:45:43 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 10:45:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99725 Bug ID: 99725 Summary: arm: ICE in dwarf2out_frame_debug_adjust_cfa with -mcmse Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails: $ cat test.c typedef int __attribute__((cmse_nonsecure_call)) (*t)(); t f; void g() { f(); } $ arm-eabi-gcc -c test.c -march=3Darmv8.1-m.main -mcmse -g during RTL pass: dwarf2 test.c: In function 'g': test.c:3:17: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, = at dwarf2cfi.c:1189 3 | void g() { f(); } | ^ 0x8a9ebe dwarf2out_frame_debug_adjust_cfa /home/alecop01/toolchain/src/gcc/gcc/dwarf2cfi.c:1189 0x8a9ebe dwarf2out_frame_debug /home/alecop01/toolchain/src/gcc/gcc/dwarf2cfi.c:2098 0x8a9ebe scan_insn_after /home/alecop01/toolchain/src/gcc/gcc/dwarf2cfi.c:2547 0x8ab702 scan_trace /home/alecop01/toolchain/src/gcc/gcc/dwarf2cfi.c:2714 0x8ac12c create_cfi_notes /home/alecop01/toolchain/src/gcc/gcc/dwarf2cfi.c:2758 0x8ac12c execute_dwarf2_frame /home/alecop01/toolchain/src/gcc/gcc/dwarf2cfi.c:3128 0x8ac12c execute /home/alecop01/toolchain/src/gcc/gcc/dwarf2cfi.c:3616 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=