This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45373] V850 increment loops compile into incorrect assembly
- From: "trap15 at raidenii dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 9 May 2011 01:30:51 +0000
- Subject: [Bug target/45373] V850 increment loops compile into incorrect assembly
- Auto-submitted: auto-generated
- References: <bug-45373-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45373
Alex Marshall <trap15 at raidenii dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
--- Comment #5 from Alex Marshall <trap15 at raidenii dot net> 2011-05-09 01:22:27 UTC ---
Sorry for bumping this bug yet again, but it appears as if it really is
generating incorrect code. After looking at several other code which has been
verified to run, and reviewing the datasheet heavily, it appears GCC is truly
generating incorrect code. For all branches, the direction of the compare is
incorrect; e.g., BGE should be BLE, BNL should be BNH, BLT should be BGT.