This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18694] [4.0 regression] loop miscompilation at -O1 (-ftree-ch)
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2004 11:40:17 -0000
- Subject: [Bug tree-optimization/18694] [4.0 regression] loop miscompilation at -O1 (-ftree-ch)
- References: <20041127224610.18694.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-11-28 11:40 -------
A bit simpler testcase; no longer segfaults, but produces wrong output. The
reason seems to be the same (both are due to fields of t after the second
one not being initialized).
.vars dump is misscompiled (body of the innermost loop is executed only in the
first iteration of the outer loop), so the problem is on tree level.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18694