This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/18694] [4.0 regression] loop miscompilation at -O1 (-ftree-ch)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]