This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/25724] Emits call to __cmpdi2 for long long comparison
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2006 14:41:50 -0000
- Subject: [Bug middle-end/25724] Emits call to __cmpdi2 for long long comparison
- References: <bug-25724-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-01-09 14:41 -------
Using
void foo(void);
int dcache_readdir(long long ll)
{
if (ll == 0)
foo();
}
the correct bit-twiddling is generated...
So it looks like a generic switch expand issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25724