diff options
author | Jan Hubicka <jh@suse.cz> | 2002-05-23 09:29:30 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2002-05-23 07:29:30 +0000 |
commit | d51f363255ccc73e798b73d789d62968cb9aee29 (patch) | |
tree | 1f7fce2af439e05a8d2faec8fcc3e4bc180c61a6 /gcc/gcse.c | |
parent | ba081f92de72fb82694bd60f632a488216ff414a (diff) | |
download | gcc-d51f363255ccc73e798b73d789d62968cb9aee29.zip gcc-d51f363255ccc73e798b73d789d62968cb9aee29.tar.gz gcc-d51f363255ccc73e798b73d789d62968cb9aee29.tar.bz2 |
* gcse.c (hash_expr): Do not use alias set for hashing.
From-SVN: r53772
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |