Up to date conformance test suite for compiler correctness?

John Colvin john.loughran.colvin at gmail.com
Fri Jan 17 06:42:46 PST 2014


On Friday, 17 January 2014 at 14:18:29 UTC, Ryan wrote:
> Hi all,
>
> I am wondering if there is an up to date conformance test 
> (compiler correctness) suite for D2.  I located the dstress 
> project on dsource.org, but it appears to be pre D2.
>
> With four different compiler implementations, please tell me 
> that people are not insane.

1) The 3 main compilers (dmd, gdc, ldc) share the majority of 
their frontend code. They aren't independent implementations like 
e.g. gcc/clang/icc/mvc/dmc etc...

2) All bugs fixed are accompanied by an addition to the test 
suite to test for regressions, which is also shared between 
compilers. While this isn't a systematic approach, it's quite a 
large set these days and is formed of pathological corner cases, 
which is exactly what you want.


More information about the Digitalmars-d mailing list