diff options
author | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-07-13 14:30:08 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-07-13 14:30:08 +0000 |
commit | 5c3b86aff6041b487f09fe9c4aef6c34034ccd84 (patch) | |
tree | f1bcb1fff451beddc3d3454cce8b16e9a82fe5cb /gcc/tree-ssa-structalias.c | |
parent | 20c861589a94acba341dae22cc6a06f716c32c61 (diff) | |
download | gcc-5c3b86aff6041b487f09fe9c4aef6c34034ccd84.zip gcc-5c3b86aff6041b487f09fe9c4aef6c34034ccd84.tar.gz gcc-5c3b86aff6041b487f09fe9c4aef6c34034ccd84.tar.bz2 |
Missed part of commit
From-SVN: r101969
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 8bd1f3e..aedd4b5 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -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 variable acts like the entire variable, so that it becomes offset 0. */ - if (n == anything_id + if (ninfo->is_special_var || ninfo->is_artificial_var || ninfo->is_unknown_size_var) { *offset = 0; return true; } - return n > anything_id - && (get_varinfo (n)->offset + *offset) < get_varinfo (n)->fullsize; + return (get_varinfo (n)->offset + *offset) < get_varinfo (n)->fullsize; } /* Process a constraint C that represents *x = &y. */ |