public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106861] New: [12/13 Regression] ICE in add_cfi_args_size, at dwarf2cfi.cc:501 Date: Tue, 06 Sep 2022 17:19:03 +0000 [thread overview] Message-ID: <bug-106861-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106861 Bug ID: 106861 Summary: [12/13 Regression] ICE in add_cfi_args_size, at dwarf2cfi.cc:501 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started with r12 between 20210822 and 20210905, at -O0, reduced from llvm-project-llvmorg-14.0.6/clang/test/CodeGen/ms_abi.c : $ cat z1.c struct foo { int x; float y; char z; }; void __attribute__((ms_abi)) f1(void); void __attribute__((sysv_abi)) f2(void); void f3(void) { f1(); f2(); } void __attribute__((sysv_abi)) f6(__builtin_ms_va_list ap) { int b = __builtin_va_arg(ap, int); double _Complex c = __builtin_va_arg(ap, double _Complex); struct foo d = __builtin_va_arg(ap, struct foo); __builtin_ms_va_list ap2; __builtin_ms_va_copy(ap2, ap); } $ gcc-13-20220904 -c z1.c -mabi=ms -ftrapv -fnon-call-exceptions -fprofile-generate during RTL pass: dwarf2 z1.c: In function 'f6': z1.c:18:1: internal compiler error: in add_cfi_args_size, at dwarf2cfi.cc:501 18 | } | ^ 0x9f7350 add_cfi_args_size ../../gcc/dwarf2cfi.cc:501 0x9fa82f connect_traces ../../gcc/dwarf2cfi.cc:3082 0x9fa82f execute_dwarf2_frame ../../gcc/dwarf2cfi.cc:3305 0x9fa82f execute ../../gcc/dwarf2cfi.cc:3794
next reply other threads:[~2022-09-06 17:19 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-06 17:19 gscfq@t-online.de [this message] 2022-09-07 8:49 ` [Bug target/106861] " rguenth at gcc dot gnu.org 2022-09-07 12:09 ` marxin at gcc dot gnu.org 2022-10-19 6:05 ` [Bug target/106861] " rguenth 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-106861-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: linkBe 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).