aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2006-01-13 20:13:06 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2006-01-13 15:13:06 -0500
commit47adc0164ed1ef318809797c43ff179cc756c90c (patch)
tree01d69e72d5665ff93ef86833437fa96ab6f786a7 /gcc/tree-ssa-alias.c
parent08d295c564c3093d18a4716e0a75a073b37f9123 (diff)
downloadgcc-47adc0164ed1ef318809797c43ff179cc756c90c.zip
gcc-47adc0164ed1ef318809797c43ff179cc756c90c.tar.gz
gcc-47adc0164ed1ef318809797c43ff179cc756c90c.tar.bz2
tree-ssa-alias.c (add_type_alias): Fix typo.
* tree-ssa-alias.c (add_type_alias): Fix typo. Test whether VAR is a tag, not its type tag. From-SVN: r109673
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index 212f587..6676303 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