From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29407 invoked by alias); 26 Jan 2015 11:40:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29322 invoked by uid 48); 26 Jan 2015 11:40:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64751] internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486 Date: Mon, 26 Jan 2015 11:40:00 -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: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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 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-SW-Source: 2015-01/txt/msg02842.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64751 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #4 from Richard Biener --- Confirmed. The testcase is rejected with GCC 4.9+ with .C: In member function =E2=80=98void Trie_tree::dfs(Out, Node*)=E2=80=99: t.C:146:50: error: no matching function for call to =E2=80=98Node::next_son= (Node*&)=E2=80=99 for (; son !=3D NULL; son =3D (root->next_son(son))->second) { ^ t.C:146:50: note: candidate is: t.C:41:10: note: auto Node::next_son(std::map::iterator) auto next_son(map::iterator it){ ^ t.C:41:10: note: no known conversion for argument 1 from =E2=80=98Node*= =E2=80=99 to =E2=80=98std::map::iterator {aka std::_Rb_tree_iterator >}=E2=80=99 while 4.8 accepts it and later ICEs: > /space/rguenther/install/gcc-4.8.3/bin/g++ -S -std=3Dc++1y -g t.C t.C:14:7: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19484 class Node { ^ 0x86bb26 gen_type_die_with_usage /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19484 0x868a85 gen_decl_die /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19978 0x86a91c gen_member_die /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19045 0x86a91c gen_struct_or_union_type_die /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19117 0x86a91c gen_tagged_type_die /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19307 0x86bb0d gen_type_die_with_usage >>From gcc-bugs-return-474849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 26 11:42:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8159 invoked by alias); 26 Jan 2015 11:42:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8075 invoked by uid 48); 26 Jan 2015 11:42:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64755] Error in optimization with std::array Date: Mon, 26 Jan 2015 11:42:00 -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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED 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 resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg02843.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64755 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Richard Biener --- Indeed.