* ipa-icf.c (sem_variable::parse): Skip all alias variables.
* gcc.dg/ipa/pr65287.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221156
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-03-03 Martin Liska <mliska@suse.cz>
+
+ PR ipa/65287
+ * ipa-icf.c (sem_variable::parse): Skip all alias variables.
+
2015-03-03 Michael Meissner <meissner@linux.vnet.ibm.com>
PR 65138/target
sem_variable *
sem_variable::parse (varpool_node *node, bitmap_obstack *stack)
{
- if (TREE_THIS_VOLATILE (node->decl) || DECL_HARD_REGISTER (node->decl))
+ if (TREE_THIS_VOLATILE (node->decl) || DECL_HARD_REGISTER (node->decl)
+ || node->alias)
return NULL;
sem_variable *v = new sem_variable (node, 0, stack);
+2015-03-03 Martin Liska <mliska@suse.cz>
+
+ PR ipa/65287
+ * gcc.dg/ipa/pr65287.c: New test.
+
2015-03-03 Martin Jambor <mjambor@suse.cz>
Eric Botcazou <ebotcazou@adacore.com>