------- Comment #17 from rguenth at gcc dot gnu dot org 2009-01-26 09:55 ------- Subject: Bug 38745
Author: rguenth Date: Mon Jan 26 09:55:30 2009 New Revision: 143673 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143673 Log: 2009-01-26 Richard Guenther <rguent...@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. Added: trunk/gcc/testsuite/g++.dg/torture/pr38745.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-alias.c trunk/gcc/tree-ssa.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38745