This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67354] [5 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Nov 2015 21:13:32 +0000
- Subject: [Bug c++/67354] [5 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
- Auto-submitted: auto-generated
- References: <bug-67354-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67354
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 25 21:13:00 2015
New Revision: 230905
URL: https://gcc.gnu.org/viewcvs?rev=230905&root=gcc&view=rev
Log:
Backported from mainline
2015-11-20 Jakub Jelinek <jakub@redhat.com>
PR c++/67354
* cp-tree.h (defer_mangling_aliases): Declare.
(generate_mangling_aliases): New prototype.
* decl2.c (defer_mangling_aliases): New variable.
(note_mangling_alias): Use !defer_mangling_aliases
instead of at_eof.
(generate_mangling_aliases): No longer static. Clear
defer_mangling_aliases.
* optimize.c (maybe_thunk_body): Defer emitting mangling aliases
if !defer_mangling_aliases until the fns are put into the same
comdat group.
* g++.dg/abi/mangle67.C: New test.
2015-05-09 Aldy Hernandez <aldyh@redhat.com>
PR bootstrap/66085
* decl2.c (note_mangling_alias): Declare arguments as unused.
2015-05-08 Jason Merrill <jason@redhat.com>
* decl2.c (mangling_aliases): New variable.
(note_mangling_alias, generate_mangling_aliases): New.
(cp_write_global_declarations): Call generate_mangling_aliases.
(generate_mangling_alias): Split out from...
* mangle.c (mangle_decl): ...here.
* cp-tree.h: Declare note_mangling_alias.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/abi/mangle67.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/cp-tree.h
branches/gcc-5-branch/gcc/cp/decl2.c
branches/gcc-5-branch/gcc/cp/mangle.c
branches/gcc-5-branch/gcc/cp/optimize.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog