ipa-visibility.c (update_visibility_by_resolution_info): Fix assert.

* ipa-visibility.c (update_visibility_by_resolution_info): Fix
	assert.

From-SVN: r214174
This commit is contained in:
Jan Hubicka 2014-08-19 19:11:57 +02:00 committed by Jan Hubicka
parent 6f983e6098
commit 46ae046561
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-08-19 Jan Hubicka <hubicka@ucw.cz>
* ipa-visibility.c (update_visibility_by_resolution_info): Fix
assert.
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* coretypes.h (class rtx_debug_insn): Add forward declaration.

View File

@ -398,7 +398,7 @@ update_visibility_by_resolution_info (symtab_node * node)
if (node->same_comdat_group)
for (symtab_node *next = node->same_comdat_group;
next != node; next = next->same_comdat_group)
gcc_assert (!node->externally_visible
gcc_assert (!next->externally_visible
|| define == (next->resolution == LDPR_PREVAILING_DEF_IRONLY
|| next->resolution == LDPR_PREVAILING_DEF
|| next->resolution == LDPR_UNDEF