mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 17:11:20 +08:00
Fix ICE during dumping in ipa-modref.
2020-09-20 Jan Hubicka <hubicka@ucw.cz> * ipa-modref.c (dump_lto_records): Fix ICE.
This commit is contained in:
parent
d119f34c95
commit
9044db88d6
@ -156,7 +156,7 @@ dump_lto_records (modref_records_lto *tt, FILE *out)
|
||||
fprintf (out, " Base %i:", (int)i);
|
||||
print_generic_expr (dump_file, n->base);
|
||||
fprintf (out, " (alias set %i)\n",
|
||||
get_alias_set (n->base));
|
||||
n->base ? get_alias_set (n->base) : 0);
|
||||
if (n->every_ref)
|
||||
{
|
||||
fprintf (out, " Every ref\n");
|
||||
@ -169,7 +169,7 @@ dump_lto_records (modref_records_lto *tt, FILE *out)
|
||||
fprintf (out, " Ref %i:", (int)j);
|
||||
print_generic_expr (dump_file, r->ref);
|
||||
fprintf (out, " (alias set %i)\n",
|
||||
get_alias_set (r->ref));
|
||||
r->ref ? get_alias_set (r->ref) : 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user