mirror of git://gcc.gnu.org/git/gcc.git
mangle.c (mangle_decl): Don't generate mangling aliases for maybe-in-charge [cd]tors.
* mangle.c (mangle_decl): Don't generate mangling aliases for maybe-in-charge [cd]tors. From-SVN: r182968
This commit is contained in:
parent
11a36a2754
commit
1be3db365d
|
@ -1,5 +1,8 @@
|
|||
2012-01-06 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* mangle.c (mangle_decl): Don't generate mangling aliases
|
||||
for maybe-in-charge [cd]tors.
|
||||
|
||||
* error.c (dump_expr): Print type of CONSTRUCTOR.
|
||||
|
||||
2012-01-05 Dodji Seketeli <dodji@redhat.com>
|
||||
|
|
|
@ -3194,7 +3194,10 @@ mangle_decl (const tree decl)
|
|||
tree id = get_mangled_id (decl);
|
||||
SET_DECL_ASSEMBLER_NAME (decl, id);
|
||||
|
||||
if (G.need_abi_warning)
|
||||
if (G.need_abi_warning
|
||||
/* Don't do this for a fake symbol we aren't going to emit anyway. */
|
||||
&& !DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (decl)
|
||||
&& !DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (decl))
|
||||
{
|
||||
#ifdef ASM_OUTPUT_DEF
|
||||
/* If the mangling will change in the future, emit an alias with the
|
||||
|
|
Loading…
Reference in New Issue