mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 14:11:05 +08:00
re PR lto/46376 (LTO, MinGW and virtual base classes don't work together)
2010-11-11 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com> PR lto/46376 * lto-symtab.c (lto_symtab_resolve_replaceable_p): Use DECL_ONE_ONLY. From-SVN: r166645
This commit is contained in:
parent
3a789837f5
commit
8bbaa77087
@ -1,3 +1,8 @@
|
||||
2010-11-11 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
|
||||
|
||||
PR lto/46376
|
||||
* lto-symtab.c (lto_symtab_resolve_replaceable_p): Use DECL_ONE_ONLY.
|
||||
|
||||
2010-11-11 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
PR c/44782
|
||||
|
@ -444,6 +444,7 @@ lto_symtab_resolve_replaceable_p (lto_symtab_entry_t e)
|
||||
{
|
||||
if (DECL_EXTERNAL (e->decl)
|
||||
|| DECL_COMDAT (e->decl)
|
||||
|| DECL_ONE_ONLY (e->decl)
|
||||
|| DECL_WEAK (e->decl))
|
||||
return true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user