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 target/45373] V850 increment loops compile into incorrect assembly



------- Comment #3 from trap15 at raidenii dot net  2010-08-22 02:47 -------
This actually appears to be the same problem when comparing in the other
direction as well. If I change the source from i < 8 to i > 8, then it uses
``cmp 8, iter; bgt 0xf00'', which is also wrong, since we want 8 < iterator,
not 8 > iterator.


-- 


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


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