This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50955] New: IVopts incorrectly rewrite the address of a global memory access into a local form.
- From: "duyuehai at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Nov 2011 05:11:49 +0000
- Subject: [Bug tree-optimization/50955] New: IVopts incorrectly rewrite the address of a global memory access into a local form.
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50955
Bug #: 50955
Summary: IVopts incorrectly rewrite the address of a global
memory access into a local form.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: duyuehai@gmail.com
Created attachment 25686
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25686
testcase
IVopts use a weird IV candidate to rewrite a memory address, after this
transform, a non-local memory access have been changed to a local one, and
lately it was deleted by pass_cd_dce.
see http://gcc.gnu.org/ml/gcc/2011-11/msg00002.html for more details.