[LLVMdev] new dragonegg 3.4 warning on darwin12

Jack Howarth howarth at bromo.med.uc.edu
Thu Nov 21 16:37:46 PST 2013


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.
           Jack



More information about the llvm-dev mailing list