* gcse.c (hash_expr): Do not use alias set for hashing.

From-SVN: r53772
This commit is contained in:
Jan Hubicka 2002-05-23 09:29:30 +02:00 committed by Jan Hubicka
parent ba081f92de
commit d51f363255
2 changed files with 7 additions and 1 deletions

View 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.

View 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;