]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/38745 (ICE: statement makes a memory store, but has no VDEFS)
authorRichard Guenther <rguenther@suse.de>
Mon, 26 Jan 2009 09:55:30 +0000 (09:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 26 Jan 2009 09:55:30 +0000 (09:55 +0000)
commite3e6cff41e9d63815a0396e02ee17d0a1261fccd
tree5b8e8a5315c9686f63ea2da022b4eaeb2c40ea42
parentdc874b53e5529e2a76d610500345e1f469366346
re PR tree-optimization/38745 (ICE: statement makes a memory store, but has no VDEFS)

2009-01-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38745
* tree-ssa.c (execute_update_addresses_taken): Do not include
variables that cannot possibly be a register in not_reg_needs.
Do not clear TREE_ADDRESSABLE on vars that may not become
registers.
* tree-ssa.c (update_alias_info_1): Include those in the set
of addressable vars.

* g++.dg/torture/pr38745.C: New testcase.

From-SVN: r143673
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr38745.C [new file with mode: 0644]
gcc/tree-ssa-alias.c
gcc/tree-ssa.c