reid at x10sys.com
Wed Jul 7 07:36:01 PDT 2004
Okay, gotcha .. I'm a little sleepy this morning .. will fix.
On Wed, 2004-07-07 at 05:28, Vladimir Prus wrote:
> Reid Spencer wrote:
> > This program is in error. Either the format specifier needs to be %lld
> > or the argument value X needs to be casted to type long. This will
> > compile fine but it probably won't work at runtime because printf is
> > expecting a long, not a long long. I think your backend producing "wrong
> > results" is actually correct :)
> Yea, that's what I'm trying to say.
> > Most modern C/C++ compilers will detect this for you at compile time.
> > What compiler are you using?
> Well, LLVM gcc frontend ;-) I mean this is *existing* test, not the one I
> wrote, and so this is something to be fixed in CVS.
> - Volodya
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the llvm-dev