From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F332D3857C5B; Mon, 21 Sep 2020 02:24:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F332D3857C5B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600655066; bh=FaVooEymXhgOTlPP+FBvYZKDydRHSWsGYKlOWaHOWXc=; h=From:To:Subject:Date:From; b=Vnwo8KtG812r/UK6Vwf6P6DPH4j/Sei0sge+uPu+XcRX4W9+kC0w6v4wTp9V8KzsE RVhNNqY/3nPCgrRrwdALBaGCsoGwgTG4YIygEitUx9ny/ELhZUDo00gfGEo8E9xXMk 9jhBawqJ0uBdPSsbRniUX7Uyg9/8Ow+hWHrguzX8= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/97129] New: [11 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2405 Date: Mon, 21 Sep 2020 02:24:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: Mon, 21 Sep 2020 02:24:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97129 Bug ID: 97129 Summary: [11 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2405 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-11.0.0-alpha20200913 snapshot (g:2fd157813c4964033e156ccb7df8889cd2afee= 99) ICEs when compiling the following testcase w/ -O2 -fwrapv -fno-omit-frame-pointer: void s5 (void); void rp (int, int, int, int, int, int, int); void yv (int kh) { if (kh) return; while (kh >=3D 0) { s5 (); ++kh; } } int __attribute__ ((naked)) p7 (int q3) { yv (q3); rp (0, 0, 0, 0, 0, 0, 0); return 0; } % gcc-11.0.0 -O2 -fwrapv -fno-omit-frame-pointer -c glywli2q.c during RTL pass: dwarf2 glywli2q.c: In function 'p7': glywli2q.c:27:1: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2405 27 | } | ^ 0x6197f4 maybe_record_trace_start =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200913/work/gcc-11-20200913/gc= c/dwarf2cfi.c:2405 0x99ccdd scan_trace =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200913/work/gcc-11-20200913/gc= c/dwarf2cfi.c:2605 0x99d4fc create_cfi_notes =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200913/work/gcc-11-20200913/gc= c/dwarf2cfi.c:2758 0x99d4fc execute_dwarf2_frame =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200913/work/gcc-11-20200913/gc= c/dwarf2cfi.c:3122 0x99d4fc execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200913/work/gcc-11-20200913/gc= c/dwarf2cfi.c:3610 Inconsistent CFI state! SHOULD have: .cfi_def_cfa 7, 8 .cfi_offset 16, -8 DO have: .cfi_def_cfa 7, 24 .cfi_offset 16, -8=