public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64751] New: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486
@ 2015-01-23 14:23 zzt13 at software dot nju.edu.cn
  2015-01-23 14:32 ` [Bug c++/64751] " zzt13 at software dot nju.edu.cn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zzt13 at software dot nju.edu.cn @ 2015-01-23 14:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64751

            Bug ID: 64751
           Summary: internal compiler error: in gen_type_die_with_usage,
                    at dwarf2out.c:19486
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zzt13 at software dot nju.edu.cn

Created attachment 34555
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34555&action=edit
The console output(I pasted it into the temp file) and a temp file when using
`-v -save-temps` produces.

When compiling my program, gcc told me there is a internal compiler error as
above said. The error is disappear is I comment all header of standard libary
of c++.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/64751] internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486
  2015-01-23 14:23 [Bug c++/64751] New: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486 zzt13 at software dot nju.edu.cn
@ 2015-01-23 14:32 ` zzt13 at software dot nju.edu.cn
  2015-01-23 16:17 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: zzt13 at software dot nju.edu.cn @ 2015-01-23 14:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64751

--- Comment #1 from zzt <zzt13 at software dot nju.edu.cn> ---
*** Bug 64750 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/64751] internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486
  2015-01-23 14:23 [Bug c++/64751] New: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486 zzt13 at software dot nju.edu.cn
  2015-01-23 14:32 ` [Bug c++/64751] " zzt13 at software dot nju.edu.cn
@ 2015-01-23 16:17 ` hjl.tools at gmail dot com
  2015-01-24  0:17 ` zzt13 at software dot nju.edu.cn
  2015-01-26 11:40 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2015-01-23 16:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64751

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-01-23
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Please also provide the testcase with standard include for libstdc++, like

#include <iostream>
....

using std::vector;
using std::string;
using std::map;
...


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/64751] internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486
  2015-01-23 14:23 [Bug c++/64751] New: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486 zzt13 at software dot nju.edu.cn
  2015-01-23 14:32 ` [Bug c++/64751] " zzt13 at software dot nju.edu.cn
  2015-01-23 16:17 ` hjl.tools at gmail dot com
@ 2015-01-24  0:17 ` zzt13 at software dot nju.edu.cn
  2015-01-26 11:40 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: zzt13 at software dot nju.edu.cn @ 2015-01-24  0:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64751

--- Comment #3 from zzt <zzt13 at software dot nju.edu.cn> ---
Created attachment 34559
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34559&action=edit
Add a test case


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/64751] internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486
  2015-01-23 14:23 [Bug c++/64751] New: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486 zzt13 at software dot nju.edu.cn
                   ` (2 preceding siblings ...)
  2015-01-24  0:17 ` zzt13 at software dot nju.edu.cn
@ 2015-01-26 11:40 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-01-26 11:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64751

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  The testcase is rejected with GCC 4.9+ with

.C: In member function ‘void Trie_tree::dfs(Out, Node*)’:
t.C:146:50: error: no matching function for call to ‘Node::next_son(Node*&)’
     for (; son != NULL; son = (root->next_son(son))->second) {
                                                  ^
t.C:146:50: note: candidate is:
t.C:41:10: note: auto Node::next_son(std::map<char, Node*>::iterator)
     auto next_son(map<char, Node*>::iterator it){
          ^
t.C:41:10: note:   no known conversion for argument 1 from ‘Node*’ to
‘std::map<char, Node*>::iterator {aka std::_Rb_tree_iterator<std::pair<const
char, Node*> >}’

while 4.8 accepts it and later ICEs:

> /space/rguenther/install/gcc-4.8.3/bin/g++ -S -std=c++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: <gcc-bugs-return-474849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
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: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
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" <gcc-bugzilla@gcc.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: <bug-64755-4-LQypLQGNub@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64755-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64755-4@http.gcc.gnu.org/bugzilla/>
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?idd755

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Indeed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-26 11:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-23 14:23 [Bug c++/64751] New: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486 zzt13 at software dot nju.edu.cn
2015-01-23 14:32 ` [Bug c++/64751] " zzt13 at software dot nju.edu.cn
2015-01-23 16:17 ` hjl.tools at gmail dot com
2015-01-24  0:17 ` zzt13 at software dot nju.edu.cn
2015-01-26 11:40 ` rguenth at gcc dot gnu.org

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).