]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-alias.c (add_type_alias): Fix typo.
authorDiego Novillo <dnovillo@redhat.com>
Fri, 13 Jan 2006 20:13:06 +0000 (20:13 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 13 Jan 2006 20:13:06 +0000 (15:13 -0500)
* tree-ssa-alias.c (add_type_alias): Fix typo.  Test whether
VAR is a tag, not its type tag.

From-SVN: r109673

gcc/ChangeLog
gcc/tree-ssa-alias.c

index c39dba5164380739f23b0e1cdd706e1dbb3aa825..4211f8c4e31102e28a4a10d341bc3e44e9a36648 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-13  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-ssa-alias.c (add_type_alias): Fix typo.  Test whether
+       VAR is a tag, not its type tag.
+
 2006-01-13  Alexandre Oliva  <aoliva@redhat.com>
 
        * config/i386/sse.md (*vec_extractv2di_1_sse2): Reorder
index 212f58733bb123bbe0602101661a24e8247d2b86..667630343d2b76a5f16a6289bf007b2a32216320 100644 (file)
@@ -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