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 optimization/13869] [tree-ssa] wrong code with a simple loop


------- Additional Comments From law at redhat dot com  2004-02-11 21:32 -------
Subject: Re:  [tree-ssa] wrong code with a simple loop 

In message <20040128212153.4623.qmail@sources.redhat.com>, "steven at gcc dot g
nu dot org" writes:
 >
 >------- Additional Comments From steven at gcc dot gnu dot org  2004-01-28 21
 >:21 -------
 >With optimization we also return 0 AFAICT. 
 >Something looks strange in DOM1, but the results look OK. 
 > 
 >After DCE1 we have the following tree: 
[ ... ]
BTW, with my changes from this afternoon, cc1plus will compile this code
down to a simple "return 0".

jeff



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13869


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