This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30194] [4.3 Regression] alias set partitioning dependent on SFT DECL_UIDs
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2008 16:40:29 -0000
- Subject: [Bug tree-optimization/30194] [4.3 Regression] alias set partitioning dependent on SFT DECL_UIDs
- References: <bug-30194-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from rguenth at gcc dot gnu dot org 2008-01-08 16:40 -------
I don't think anything is wrong with 'alias set partitioning dependent on SFT
DECL_UIDs'. If two SFTs score equal we need to discriminate them somehow.
DECL_UID is exactly the right thing to use for this.
Note that
2007-10-25 Richard Guenther <rguenther@suse.de>
...
* tree-ssa-alias.c (mem_sym_stats): ... here and make it static.
...
(compare_mp_info_entries): Make sort stable by disambiguating
on DECL_UID.
might have improved the situation. Or worsened it.
The question would be - why should the DECL_UIDs for SFTs change
spontaneously?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30194