re PR middle-end/49373 (Many testcase failures)
PR middle-end/49373 * ipa.c (cgraph_externally_visible_p): Check resolution info. From-SVN: r174972
This commit is contained in:
parent
516e076862
commit
c3e3f0901a
|
@ -1,3 +1,8 @@
|
|||
2011-06-11 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR middle-end/49373
|
||||
* ipa.c (cgraph_externally_visible_p): Check resolution info.
|
||||
|
||||
2011-06-11 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR middle-end/48836
|
||||
|
|
|
@ -629,6 +629,8 @@ cgraph_externally_visible_p (struct cgraph_node *node,
|
|||
if (TARGET_DLLIMPORT_DECL_ATTRIBUTES
|
||||
&& lookup_attribute ("dllexport", DECL_ATTRIBUTES (node->decl)))
|
||||
return true;
|
||||
if (node->resolution == LDPR_PREVAILING_DEF_IRONLY)
|
||||
return false;
|
||||
/* When doing LTO or whole program, we can bring COMDAT functoins static.
|
||||
This improves code quality and we know we will duplicate them at most twice
|
||||
(in the case that we are not using plugin and link with object file
|
||||
|
|
Loading…
Reference in New Issue