This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/20367] alias analysis doesn't take into account that variables that haven't their address taken can't alias arbitrary MEMs
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2005 12:30:45 -0000
- Subject: [Bug rtl-optimization/20367] alias analysis doesn't take into account that variables that haven't their address taken can't alias arbitrary MEMs
- References: <20050307194707.20367.amylaar@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2005-03-08 12:30 -------
So, to recap: testcase in comment #5 should not be optimized (at least, it is
not related to this bug). Testcase in comment #2 is already optimized correctly
in the tree-profiling-branch, which is due to be merged for 4.1.
If so, we can suspend this bug until the branch is merged. The proposed patch
cannot be merged to release branches because this is not a regression, AFAICT.
I also guess that on the mainline we want to fix this at the tree level.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20367