re PR ipa/65287 (Current trunk ICE in address_matters_p, at symtab.c:1908)
PR ipa/65287 * ipa-icf.c (sem_variable::parse): Skip all alias variables. * gcc.dg/ipa/pr65287.c: New test. From-SVN: r221156
This commit is contained in:
parent
a6a62c01b0
commit
6fb12821b3
3 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1681,7 +1681,8 @@ sem_variable::equals (tree t1, tree t2)
|
|||
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);
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue