[LLVMbugs] bug in sequence 'load --> bswap --> bitcast --> fptoui'
eugeny.grishul at gmail.com
Wed Sep 23 12:22:03 PDT 2009
1) MS CRT supports both %I64d (such not supports on osx/linux) and %lld
2) Extra arguments for __cdecl vararg functions can't hang program execution
in such manner
3) even if change %lld to %I64d stack trace will be same
4) As I said problem is in 'fptoui' instruction. It's 100% reproduceable
using provided test case.
2009/9/23 Anton Korobeynikov <anton at korobeynikov.info>
> > @str = internal constant [18 x i8] c"Big endian: %lld\0A\00"
> This looks completely wrong - MS CRT does not support this format
> specifier. It might be that you're just trashing the stack.
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs