public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "acoplan at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-99725-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99725

            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=armv8.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 <https://gcc.gnu.org/bugs/> for instructions.

             reply	other threads:[~2021-03-23 10:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 10:45 acoplan at gcc dot gnu.org [this message]
2021-04-30  9:29 ` [Bug target/99725] " acoplan at gcc dot gnu.org
2021-05-11 12:12 ` cvs-commit at gcc dot gnu.org
2021-05-11 12:13 ` acoplan at gcc dot gnu.org
2021-05-27  9:42 ` cvs-commit at gcc dot gnu.org
2021-06-01 16:22 ` cvs-commit at gcc dot gnu.org
2021-06-01 16:29 ` acoplan at gcc dot gnu.org
2021-09-17  6:43 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-99725-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).