2008-07-06 Richard Guenther <rguenther@suse.de>
commit9bdfd02b76f55a2cd3aaf450d90714e5f1870e26
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jul 2008 18:38:15 +0000 (6 18:38 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jul 2008 18:38:15 +0000 (6 18:38 +0000)
tree7d9c3e25895221d22c35c7113f4770ce918e5d15
parent9a15ffae91870694faf69a0704f380f73d13ff6b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137530 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pta-callused.c
gcc/tree-ssa-structalias.c