[cfe-dev] major clang++ regression? - at least on mingw64

Anton Korobeynikov anton at korobeynikov.info
Mon Apr 1 23:29:25 PDT 2013


> I am finding that I can compile but can't run even the smallest of programs
> built using clang svn on mingw64 using windows 7 64. The problem has been
> there for over a week. No functions work, nothing that puts anything onto
> the stack, which is everything, will work.
Indeed. The caller correctly puts the argument into %ecx, however, the
callee expects to see it in %rdi (which is x86-64 calling convention).
Can you try to indicate the working commit?

Thanks!

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-dev mailing list