This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/27625] invalid loop transformation.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2006 17:07:09 -0000
- Subject: [Bug rtl-optimization/27625] invalid loop transformation.
- References: <bug-27625-7674@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-16 17:07 -------
This is all undefined code:
for (reloc_ptr = &__reloc_table, num_relocs = (unsigned
int)&__reloc_num;num_relocs; reloc_ptr++,num_relocs--)
*(long *)(dp + *reloc_ptr) += (long)dp;
reloc_ptr can only extend one place out to be valid.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27625