OSDN Git Service

* tree-ssa-alias.c (add_type_alias): Fix typo. Test whether
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2006 20:13:06 +0000 (20:13 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2006 20:13:06 +0000 (20:13 +0000)
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

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

index c39dba5..4211f8c 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 212f587..6676303 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