[llvm-commits] [llvm] r72248 - in /llvm/trunk: lib/VMCore/Verifier.cpp test/Assembler/2009-05-22-CC.ll test/Verifier/2009-05-22-CC.ll

Eli Friedman eli.friedman at gmail.com
Fri May 22 00:05:25 PDT 2009


2009/5/21 Török Edwin <edwintorok at gmail.com>:
> You shouldn't have a function prototype with a target specific calling
> convention, clang even warns you:
> 2009-05-22-callingconv.c:25:35: warning: 'stdcall' attribute only
> applies to function types
>     __attribute__ ((regparm (3), stdcall));

That's PR2461/PR4010; it works just fine with llvm-gcc

-Eli




More information about the llvm-commits mailing list