From: hubicka Date: Thu, 23 May 2002 07:29:30 +0000 (+0000) Subject: * gcse.c (hash_expr): Do not use alias set for hashing. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f993b2302ece6964f4e3e95dfc41d202e1d466eb;p=thirdparty%2Fgcc.git * gcse.c (hash_expr): Do not use alias set for hashing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53772 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 565e25b8915d..67381fdacf74 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 b2aad0515393..8d05e005bb01 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;