Commit 163b8581 by Daniel Berlin Committed by Daniel Berlin

re PR java/29587 (jc1: out of memory allocating 4072 bytes after a total of 708630224 bytes)

2006-11-12  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/29587
	* tree-ssa-structalias.c (process_constraint): Don't
	mark address taken due only to escaped vars constraint.

From-SVN: r118742
parent 3b279c7a
2006-11-12 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/29587
* tree-ssa-structalias.c (process_constraint): Don't
mark address taken due only to escaped vars constraint.
2006-11-12 Michael Matz <matz@suse.de>
Roger Sayle <roger@eyesopen.com>
......
......@@ -2327,8 +2327,11 @@ process_constraint (constraint_t t)
varinfo_t vi;
gcc_assert (rhs.offset == 0);
for (vi = get_varinfo (rhs.var); vi != NULL; vi = vi->next)
vi->address_taken = true;
/* No need to mark address taken simply because of escaped vars
constraints. */
if (lhs.var != escaped_vars_id)
for (vi = get_varinfo (rhs.var); vi != NULL; vi = vi->next)
vi->address_taken = true;
VEC_safe_push (constraint_t, heap, constraints, t);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment