* gcse.c (hash_expr): Do not use alias set for hashing.
authorJan Hubicka <jh@suse.cz>
Thu, 23 May 2002 07:29:30 +0000 (09:29 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 23 May 2002 07:29:30 +0000 (07:29 +0000)
From-SVN: r53772

gcc/ChangeLog
gcc/gcse.c

index 565e25b..67381fd 100644 (file)
@@ -1,3 +1,7 @@
+Thu May 23 09:22:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
+
+       * gcse.c (hash_expr): Do not use alias set for hashing.
+
 2002-05-22  Kevin Buettner  <kevinb@redhat.com>
 
        * dbxout.c (dbxout_class_name_qualifiers): New function.
index b2aad05..8d05e00 100644 (file)
@@ -1689,7 +1689,9 @@ hash_expr_1 (x, mode, do_not_record_p)
        }
 
       hash += (unsigned int) MEM;
-      hash += MEM_ALIAS_SET (x);
+      /* We used alias set for hashing, but this is not good, since the alias
+        set may differ in -fprofile-arcs and -fbranch-probabilities compilation
+        causing the profiles to fail to match.  */
       x = XEXP (x, 0);
       goto repeat;