From: Jan Hubicka Date: Thu, 23 May 2002 07:29:30 +0000 (+0200) Subject: * gcse.c (hash_expr): Do not use alias set for hashing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d51f363255ccc73e798b73d789d62968cb9aee29;p=gcc.git * gcse.c (hash_expr): Do not use alias set for hashing. From-SVN: r53772 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 565e25b8915..67381fdacf7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu May 23 09:22:23 CEST 2002 Jan Hubicka + + * gcse.c (hash_expr): Do not use alias set for hashing. + 2002-05-22 Kevin Buettner * dbxout.c (dbxout_class_name_qualifiers): New function. diff --git a/gcc/gcse.c b/gcc/gcse.c index b2aad051539..8d05e005bb0 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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;