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 middle-end/40501] [4.5 Regression] error: invalid conversion in gimple call



------- 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


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