This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/69984] [4.9/5/6] Signed comparison instruction emitted for unsigned variable comparison
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Feb 2016 15:34:56 +0000
- Subject: [Bug tree-optimization/69984] [4.9/5/6] Signed comparison instruction emitted for unsigned variable comparison
- Auto-submitted: auto-generated
- References: <bug-69984-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69984
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But it is 64-bit comparison. The result of the multiplication is still at most
0xfffe0001UL, so certainly not negative in 64-bit integer, E is not negative
either. So, do you have an evidence of wrong-code, or just don't like jbe to
be emitted when it doesn't really matter?