Commit 2e4c1e6c by Jan Hubicka Committed by Jan Hubicka

ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF comdats as extern.


	* ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF
	comdats as extern.

From-SVN: r214115
parent c5ac1780
2014-08-18 Jan Hubicka <hubicka@ucw.cz>
* ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF
comdats as extern.
2014-08-18 Jan Hubicka <hubicka@ucw.cz>
* gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
to BUILT_IN_UNREACHABLE.
......
......@@ -391,6 +391,7 @@ update_visibility_by_resolution_info (symtab_node * node)
define = (node->resolution == LDPR_PREVAILING_DEF_IRONLY
|| node->resolution == LDPR_PREVAILING_DEF
|| node->resolution == LDPR_UNDEF
|| node->resolution == LDPR_PREVAILING_DEF_IRONLY_EXP);
/* The linker decisions ought to agree in the whole group. */
......@@ -400,6 +401,7 @@ update_visibility_by_resolution_info (symtab_node * node)
gcc_assert (!node->externally_visible
|| define == (next->resolution == LDPR_PREVAILING_DEF_IRONLY
|| next->resolution == LDPR_PREVAILING_DEF
|| next->resolution == LDPR_UNDEF
|| next->resolution == LDPR_PREVAILING_DEF_IRONLY_EXP));
if (node->same_comdat_group)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment