diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-13 20:13:06 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-13 20:13:06 +0000 |
commit | a003f57da4a6d48713ad5b7d58d4c8e273258973 (patch) | |
tree | 01d69e72d5665ff93ef86833437fa96ab6f786a7 /gcc/tree-ssa-alias.c | |
parent | 3a15b281f172790934133c921c9d7c2a095b9ca7 (diff) | |
download | gcc-a003f57da4a6d48713ad5b7d58d4c8e273258973.tar.gz |
* tree-ssa-alias.c (add_type_alias): Fix typo. Test whether
VAR is a tag, not its type tag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109673 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 212f58733bb..667630343d2 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -2307,7 +2307,7 @@ add_type_alias (tree ptr, tree var) found_tag: /* If VAR is not already PTR's type tag, add it to the may-alias set for PTR's type tag. */ - gcc_assert (!MTAG_P (var_ann (var)->type_mem_tag)); + gcc_assert (!MTAG_P (var)); tag = ann->type_mem_tag; /* If VAR has subvars, add the subvars to the tag instead of the |