r230905 - in /branches/gcc-5-branch/gcc: cp/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Nov 25 21:13:00 GMT 2015


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



More information about the Gcc-cvs mailing list