tree-ssa-structalias.c (struct variable_info): Remove has_union.
authorRichard Guenther <rguenther@suse.de>
Sun, 6 Jul 2008 18:38:15 +0000 (18:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sun, 6 Jul 2008 18:38:15 +0000 (18:38 +0000)
commitee7d4b57a56be0420460691d7cfc92f5028a6aca
tree7d9c3e25895221d22c35c7113f4770ce918e5d15
parentc9faf4654f49b100b597bb3efbc9cd161c92e94f
tree-ssa-structalias.c (struct variable_info): Remove has_union.

2008-07-06  Richard Guenther  <rguenther@suse.de>

* tree-ssa-structalias.c (struct variable_info): Remove has_union.
(new_var_info): Deal with it.
(solution_set_add): Likewise.
(bitpos_of_field): Make signed, fix.
(struct fieldoff): Remove type and decl fields.  Make size field
unsigned HOST_WIDE_INT.  Add has_unknown_size and may_have_pointers
flags.
(fieldoff_compare): Deal with it.
(push_fields_onto_fieldstack): Remove has_union argument, glob
adjacent non-pointer fields together.
(create_function_info_for): Do not set has_union.
(create_variable_info_for): Simplify.

* gcc.dg/tree-ssa/pta-callused.c: Adjust testcase.

From-SVN: r137530
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pta-callused.c
gcc/tree-ssa-structalias.c