LLVM/clang vs. GCC: Warning Parity.


I attempted to gauge warning parity between LLVM/clang 3.8.0 (early Jan trunk) and GCC 5.3.0 using the DejaGNU suites: gcc/testsuite/gcc.dg and gcc/testsuite/c-c+±common
PFA, the tabulated results. These are still preliminary – it is possible that there exist equivalent LLVM/clang warning options to be used instead of the GCC warning options I used.

I’d appreciate receiving feedback and if these are indeed gaps, is the community aware of them and are they being addressed?

I also need input on the documentation to be used for LLVM/clang warning options; for, unlike GCC’s:


  • is not as exhaustive.

Thanks very much.


taxonomy-preliminary.txt (14.5 KB)