OSDN Git Service

2010-09-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 2010 11:06:25 +0000 (11:06 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 2010 11:06:25 +0000 (11:06 +0000)
commit59b12eb57be6e4b72e9a6ed8d264350e892693cb
tree0668baf35a808838597ae97ba541f699d53e4a0e
parent282bf14ceac90b2eea0a10db3049103526d149d4
2010-09-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/45623
* tree-ssa-structalias.c (get_constraint_for_ptr_offset): Adjust.
(get_constraint_for_component_ref): If computing a constraint
for the rhs handle type punning through unions.
(get_constraint_for_address_of): Adjust.
(get_constraint_for_1): Likewise.
(get_constraint_for): Likewise.
(get_constraint_for_rhs): New function.
(do_structure_copy): Adjust.
(make_constraint_to): Likewise.
(handle_const_call): Likewise.
(find_func_aliases): Likewise.
(process_ipa_clobber): Likewise.
(create_variable_info_for): Likewise.

* gcc.dg/torture/pr45623.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164333 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr45623.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c