diff options
author | Richard Guenther <rguenther@suse.de> | 2008-07-01 11:05:17 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-07-01 11:05:17 +0000 |
commit | c0d459f0e6282d3f1777dec137eb6c90f23320d0 (patch) | |
tree | a112f255682465337762db21676dae4533f92af0 /gcc/c-common.c | |
parent | b6e99746ac31845e39844334378bafbb9a93517c (diff) | |
download | gcc-c0d459f0e6282d3f1777dec137eb6c90f23320d0.zip gcc-c0d459f0e6282d3f1777dec137eb6c90f23320d0.tar.gz gcc-c0d459f0e6282d3f1777dec137eb6c90f23320d0.tar.bz2 |
re PR tree-optimization/36666 (ICE in process_constraint, at tree-ssa-structalias.c:2573)
2008-07-01 Richard Guenther <rguenther@suse.de>
PR tree-optimization/36666
* tree-ssa-structalias.c (get_constraint_for_1): Declare.
(get_constraint_exp_from_ssa_var): Split into ...
(get_constraint_exp_for_temp): ... this ...
(get_constraint_for_ssa_var): ... and that.
Return constraint expressions for all touched sub-fields
if the results address is not taken.
(process_constraint): Remove assertion that aggregate
assignments do not happen at this place.
(get_constraint_for_component_ref): Add address_p argument.
Return constraint expressions for all touched sub-fields
if the results address is not taken.
(do_deref): Use get_constraint_exp_for_temp.
(get_constraint_for_1): Rename from ...
(get_constraint_for): ... this. Add the old function as
wrapper.
(do_structure_copy): Use get_constraint_for_1.
* gcc.c-torture/compile/pr36666.c: New testcase.
From-SVN: r137315
Diffstat (limited to 'gcc/c-common.c')
0 files changed, 0 insertions, 0 deletions