PR tree-optimization/38745
* tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
from special handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143676
138bc75d-0d04-0410-961f-
82ee72b054a4
2009-01-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38745
+ * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
+ from special handling.
+
+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
{
tree var = get_base_address (lhs);
if (DECL_P (var)
+ /* We are not going to mess with RESULT_DECL anyway. */
+ && TREE_CODE (var) != RESULT_DECL
&& is_gimple_reg_type (TREE_TYPE (var)))
bitmap_set_bit (gimple_addressable_vars (cfun), DECL_UID (var));
}