mangle.c (e4b17023) mangle.c (95d28233)
1/* Name mangling for the 3.0 C++ ABI.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010,
3 2011 Free Software Foundation, Inc.
4 Written by Alex Samuel <samuel@codesourcery.com>
5
6 This file is part of GCC.
7
8 GCC is free software; you can redistribute it and/or modify it

--- 3364 unchanged lines hidden (view full) ---

3373 if (dep)
3374 return;
3375
3376 id = get_mangled_id (decl);
3377 SET_DECL_ASSEMBLER_NAME (decl, id);
3378
3379 if (G.need_abi_warning
3380 /* Don't do this for a fake symbol we aren't going to emit anyway. */
1/* Name mangling for the 3.0 C++ ABI.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010,
3 2011 Free Software Foundation, Inc.
4 Written by Alex Samuel <samuel@codesourcery.com>
5
6 This file is part of GCC.
7
8 GCC is free software; you can redistribute it and/or modify it

--- 3364 unchanged lines hidden (view full) ---

3373 if (dep)
3374 return;
3375
3376 id = get_mangled_id (decl);
3377 SET_DECL_ASSEMBLER_NAME (decl, id);
3378
3379 if (G.need_abi_warning
3380 /* Don't do this for a fake symbol we aren't going to emit anyway. */
3381 && TREE_CODE (decl) != TYPE_DECL
3381 && !DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (decl)
3382 && !DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (decl))
3383 {
3384#ifdef ASM_OUTPUT_DEF
3385 /* If the mangling will change in the future, emit an alias with the
3386 future mangled name for forward-compatibility. */
3387 int save_ver;
3388 tree id2, alias;

--- 341 unchanged lines hidden ---
3382 && !DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (decl)
3383 && !DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (decl))
3384 {
3385#ifdef ASM_OUTPUT_DEF
3386 /* If the mangling will change in the future, emit an alias with the
3387 future mangled name for forward-compatibility. */
3388 int save_ver;
3389 tree id2, alias;

--- 341 unchanged lines hidden ---