[Bug middle-end/40501] [4.5 Regression] error: invalid conversion in gimple call
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jun 21 23:33:00 GMT 2009
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-06-21 23:33 -------
Reduced testcase:
typedef long int int64_t;
int64_t swap64(int64_t n)
{
return ( ((n & (((int64_t) 0xff) )) << 56) |
((n & (((int64_t) 0xff) << 8)) << 40) |
((n & (((int64_t) 0xff) << 16)) << 24) |
((n & (((int64_t) 0xff) << 24)) << 8) |
((n & (((int64_t) 0xff) << 32)) >> 8) |
((n & (((int64_t) 0xff) << 40)) >> 24) |
((n & (((int64_t) 0xff) << 48)) >> 40) |
((n & (((int64_t) 0xff) << 56)) >> 56) );
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40501
More information about the Gcc-bugs
mailing list