Commit 5c3b86af by Daniel Berlin

Missed part of commit

From-SVN: r101969
parent 20c86158
...@@ -1294,15 +1294,14 @@ type_safe (unsigned int n, unsigned HOST_WIDE_INT *offset) ...@@ -1294,15 +1294,14 @@ type_safe (unsigned int n, unsigned HOST_WIDE_INT *offset)
/* For things we've globbed to single variables, any offset into the /* For things we've globbed to single variables, any offset into the
variable acts like the entire variable, so that it becomes offset variable acts like the entire variable, so that it becomes offset
0. */ 0. */
if (n == anything_id if (ninfo->is_special_var
|| ninfo->is_artificial_var || ninfo->is_artificial_var
|| ninfo->is_unknown_size_var) || ninfo->is_unknown_size_var)
{ {
*offset = 0; *offset = 0;
return true; return true;
} }
return n > anything_id return (get_varinfo (n)->offset + *offset) < get_varinfo (n)->fullsize;
&& (get_varinfo (n)->offset + *offset) < get_varinfo (n)->fullsize;
} }
/* Process a constraint C that represents *x = &y. */ /* Process a constraint C that represents *x = &y. */
......
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