[LLVMdev] new dragonegg 3.4 warning on darwin12
Peter Collingbourne
peter at pcc.me.uk
Thu Nov 21 17:53:46 PST 2013
On Thu, Nov 21, 2013 at 07:37:46PM -0500, Jack Howarth wrote:
> Duncan,
> Is this expected for x86_64-apple-darwin12 under Xcode 5? Using current
> llvm/compiler-rt/clang/polly/testsuite with dragonegg 3.4 branch, I see
> the warnings...
>
> % /sw/lib/gcc4.8/bin/gcc-4 -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -specs=/sw/lib/gcc4.8/lib/integrated-as.specs -fplugin-arg-dragonegg-enable-gcc-optzns -Ofast himenoBMTxpa.c
> himenoBMTxpa.c: In function ‘main’:
> himenoBMTxpa.c:79:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
> strcpy(size,argv[1]);
> ^
> himenoBMTxpa.c: In function ‘set_param’:
> himenoBMTxpa.c:226:5: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
> exit(6);
> ^
> himenoBMTxpa.c: In function ‘newMat’:
> himenoBMTxpa.c:239:5: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
> malloc(mnums * mrows * mcols * mdeps * sizeof(float));
> ^
> himenoBMTxpa.c: In function ‘clearMat’:
> himenoBMTxpa.c:248:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
> free(Mat->m);
> ^
> '-cmpxchg16b' is not a recognized feature for this target (ignoring feature)
> '-cmpxchg16b' is not a recognized feature for this target (ignoring feature)
> '-cmpxchg16b' is not a recognized feature for this target (ignoring feature)
>
> Are these warnings for...
>
> '-cmpxchg16b' is not a recognized feature for this target (ignoring feature)
>
> expected? The resulting executable runs fine but I don't recall seeing this warning before.
The cmpxchg16b feature was renamed to cx16 in LLVM. I've made the
corresponding change to DragonEgg in r195404.
Thanks,
--
Peter
More information about the llvm-dev
mailing list