On Thu, 2006-10-05 at 09:27 +0200, Revital1 Eres wrote:
> Hello,
> 
> I appreciate it if someone could explain what is the difference between
> gcc.c-torture library and gcc.dg library under the testsuite directory.

http://gcc.gnu.org/wiki/HowToPrepareATestcase
Should explain it.
If it does not, here is the best explaination I can come up with:
gcc.dg (except for gcc.dg/torture) is for testing only one optimization
level
gcc.c-torture is for testing multiple optimization levels and don't have
a lot of the features that gcc.dg can do like dg-final (maybe this has
changed already but I forgot).

I think the main reason why there are still two directories is just
historical and nobody really wants to move around 100 and change or so
testcases to be included in gcc.dg/torture.

Thanks,
Andrew Pinski

Reply via email to