alias.c (alias_set_entry_d): Add is_pointer and has_pointer.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 30 May 2015 00:32:04 +0000 (02:32 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 30 May 2015 00:32:04 +0000 (00:32 +0000)
commit6e042ef4e2b96c07cb0f7a95635025a307a6f1be
tree3e1ec41db99dd8ff783e9dd8e15b253a16dc5db6
parent530141b637308c11f49f1b1c9079975f886b5ac1
alias.c (alias_set_entry_d): Add is_pointer and has_pointer.

* alias.c (alias_set_entry_d): Add is_pointer and has_pointer.
(alias_stats): Add num_universal.
(alias_set_subset_of): Special case pointers; be ready for NULL
children.
(alias_sets_conflict_p): Special case pointers; be ready for NULL
children.
(init_alias_set_entry): Break out from ...
(record_alias_subset): ... here; propagate new fields;
allocate children only when really needed.
(get_alias_set): Do less generous pointer globbing.
(dump_alias_stats_in_alias_c): Update statistics.
* gcc.dg/alias-8.c: Do not xfail.
* gcc.dg/pr62167.c: Prevent FRE.
* gcc.dg/alias-14.c: New testcase.

From-SVN: r223883
gcc/ChangeLog
gcc/alias.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/alias-14.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/alias-8.c
gcc/testsuite/gcc.dg/pr62167.c