From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E48AD385354A; Tue, 6 Sep 2022 17:19:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E48AD385354A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662484743; bh=i8D474nl8DzKlBmbl78yxHPVBFvs0ODVFerVPXG0wEw=; h=From:To:Subject:Date:From; b=NydaBNXtgkjeQDCm5g+PfF6Z88bf35pqwn5om/kvrzbI+BQ6Gd3NoT4RT9wzrUUXx pFXPE/v4ysR0bmguuL/sJoub6cFDm8yqmIHdrCEKNSfYJVtUpTy5LeUXaf8P2lrvQv +rrEkEgiCb5EFMiQVW1GsSd/cqRZlVdsrXgX2xUY= From: "gscfq@t-online.de" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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=3D106861 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 =3D __builtin_va_arg(ap, int); double _Complex c =3D __builtin_va_arg(ap, double _Complex); struct foo d =3D __builtin_va_arg(ap, struct foo); __builtin_ms_va_list ap2; __builtin_ms_va_copy(ap2, ap); } $ gcc-13-20220904 -c z1.c -mabi=3Dms -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:5= 01 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=