OSDN Git Service

Fix x86-x-ia64 abort while compiling glibc ldbl2mpn.c.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Aug 2000 21:32:05 +0000 (21:32 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Aug 2000 21:32:05 +0000 (21:32 +0000)
* function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35991 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/function.c

index fe5b369..4a8ed4a 100644 (file)
@@ -1,3 +1,7 @@
+2000-08-25  Jim Wilson  <wilson@cygnus.com>
+
+       * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
+
 2000-08-25  Greg McGary  <greg@mcgary.org>
 
        * flow.c (dump_edge_info): Use ARRAY_SIZE.
index 8687bcd..8ce2d4e 100644 (file)
@@ -2834,7 +2834,12 @@ gen_mem_addressof (reg, decl)
        fixup_var_refs (reg, GET_MODE (reg), TREE_UNSIGNED (type), 0);
     }
   else
-    fixup_var_refs (reg, GET_MODE (reg), 0, 0);
+    {
+      /* We have no alias information about this newly created MEM.  */
+      MEM_ALIAS_SET (reg) = 0;
+
+      fixup_var_refs (reg, GET_MODE (reg), 0, 0);
+    }
 
   return reg;
 }