[cfe-dev] major clang++ regression? - at least on mingw64
anton at korobeynikov.info
Mon Apr 1 23:41:18 PDT 2013
>>> 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?
> Also, if you compile with -O2 - does the snippet work?
I believe the problem is caused by r177113. This way -O2 should help you.
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the cfe-dev