Fix x86-x-ia64 abort while compiling glibc ldbl2mpn.c.

* function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.

From-SVN: r35991
This commit is contained in:
Jim Wilson 2000-08-25 21:32:05 +00:00 committed by Jim Wilson
parent 9a56f4f680
commit caa511fdfa
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-08-25 Jim Wilson <wilson@cygnus.com>
* function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
2000-08-25 Greg McGary <greg@mcgary.org>
* flow.c (dump_edge_info): Use ARRAY_SIZE.

View File

@ -2834,7 +2834,12 @@ gen_mem_addressof (reg, decl)
fixup_var_refs (reg, GET_MODE (reg), TREE_UNSIGNED (type), 0);
}
else
fixup_var_refs (reg, GET_MODE (reg), 0, 0);
{
/* We have no alias information about this newly created MEM. */
MEM_ALIAS_SET (reg) = 0;
fixup_var_refs (reg, GET_MODE (reg), 0, 0);
}
return reg;
}