This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/47361] ICE: in build_abbrev_table, at dwarf2out.c:10477 with -g -feliminate-dwarf2-dups
- From: "dexuan.cui at intel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 02:23:07 +0000
- Subject: [Bug debug/47361] ICE: in build_abbrev_table, at dwarf2out.c:10477 with -g -feliminate-dwarf2-dups
- Auto-submitted: auto-generated
- References: <bug-47361-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47361
Dexuan Cui <dexuan.cui at intel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dexuan.cui at intel dot com
--- Comment #2 from Dexuan Cui <dexuan.cui at intel dot com> 2011-03-30 02:22:53 UTC ---
(In reply to comment #1)
> A candidate patch was posted to
> http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01414.html
Hi Dodji, what's the status of the patch? have it been accepted?
(In reply to comment #0)
> Created attachment 23030 [details]
> reduced testcase
> +++ This bug was initially created as a clone of Bug #46101 +++
> Compiler output:
> $ gcc pr47361.C -std=c++0x -g -feliminate-dwarf2-dups
> pr47361.C:8:4: internal compiler error: in build_abbrev_table, at
> dwarf2out.c:10477
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> Tested revisions:
> r168990 - crash
> 4.5 - doesn't know nullptr
We got a similar bug with the option -feliminate-dwarf2-dups of gcc 4.5.1 when
building Qt in the embedded Yocto project:
http://bugzilla.pokylinux.org/show_bug.cgi?id=932
One difference is we are not in c++0x mode.
I tried the patch http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01637.html, but
still got the same issue.