[Bug tree-optimization/21171] [4.0 Regression] Generates wrong code (w/ optimization) when copying data from a table to a table in a structure
rearnsha at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 26 18:35:00 GMT 2005
------- Additional Comments From rearnsha at gcc dot gnu dot org 2005-04-26 18:32 -------
Confirmed. I suspect this is a tree loop optimization bug. The final tree dump
has:
main ()
{
void * D.1236;
void * ivtmp.8;
<bb 0>:
ivtmp.8 = &__IntTable[0];
<L0>:;
ivtmp.8 = ivtmp.8 + 4B;
D.1236 = &__IntTable[0] + 128B;
if (ivtmp.8 != D.1236) goto <L0>; else goto <L2>;
<L2>:;
return 0;
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|target |tree-optimization
Ever Confirmed| |1
GCC build triplet|i386-unknown-netbsdelf2.0 |
GCC host triplet|i386-unknown-netbsdelf2.0 |
Last reconfirmed|0000-00-00 00:00:00 |2005-04-26 18:32:33
date| |
Summary|Generates wrong code (w/ |[4.0 Regression] Generates
|optimization) when copying |wrong code (w/ optimization)
|data from a table to a table|when copying data from a
|in a structure |table to a table in a
| |structure
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21171
More information about the Gcc-bugs
mailing list