From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB7073857C69; Fri, 11 Sep 2020 06:28:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB7073857C69 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599805707; bh=uzS69km8MPqfqeQoSdBOTkH3mDH3VK+/2IOkSuC8rCo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UBkc64fIGaG0qjaVmBWVf97g9dhNUp7pA6tHCZqcDN1uCzjaDoHo+sBPUMUyoz4j6 j7ILrXmBQcJ+cUTjyE5KlCF/2g6fjdPCOzP3PpZUUcGF7fshMJ2XHhZA6WJ5kVGmXi xpl2anZc+CVKI6o9Dzd1EFPkJikM3p98DbGUu+SQ= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97011] ICE on C++ 20 code: gcc_assert failure in DWARF generation (tree_add_const_value_attribute, at dwarf2out.c:20283) Date: Fri, 11 Sep 2020 06:28:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status everconfirmed cf_reconfirmed_on Message-ID: In-Reply-To: References: 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: Fri, 11 Sep 2020 06:28:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97011 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2020-09-11 --- Comment #1 from Richard Biener --- Confirmed. FE trees leak: #1 0x0000000001038170 in tree_add_const_value_attribute ( die=3D>, t=3D) at /home/rguenther/src/gcc5/gcc/dwarf2out.c:20283 20283 gcc_assert (!DECL_P (init)); (gdb) p init $1 =3D 0 fancy_abort (file=3D0x2a54bf8 "/home/rguenther/src/gcc5/gcc/dwarf2out.c"= ,=20 line=3D20283,=20 function=3D0x2a60120 "tree_add_const_value_attribute") at /home/rguenther/src/gcc5/gcc/diagnostic.c:1824 #1 0x0000000001038170 in tree_add_const_value_attribute ( die=3D>, t=3D) at /home/rguenther/src/gcc5/gcc/dwarf2out.c:20283 #2 0x000000000104b106 in gen_remaining_tmpl_value_param_die_attribute () at /home/rguenther/src/gcc5/gcc/dwarf2out.c:27130 #3 0x0000000001056378 in dwarf2out_early_finish (filename=3D0x3b0c930 "t.i= i") at /home/rguenther/src/gcc5/gcc/dwarf2out.c:32076 #4 0x0000000000f7d04e in symbol_table::finalize_compilation_unit ( this=3D0x7ffff656d100) at /home/rguenther/src/gcc5/gcc/cgraphunit.c:3012 #5 0x00000000016678f2 in compile_file () at /home/rguenther/src/gcc5/gcc/toplev.c:482 #6 0x000000000166ab8a in do_compile () at /home/rguenther/src/gcc5/gcc/toplev.c:2314 #7 0x000000000166ae83 in toplev::main (this=3D0x7fffffffdd7e, argc=3D7,=20 argv=3D0x7fffffffde78) at /home/rguenther/src/gcc5/gcc/toplev.c:2453 #8 0x000000000286fd02 in main (argc=3D7, argv=3D0x7fffffffde78) at /home/rguenther/src/gcc5/gcc/main.c:39=