This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pedantic: not fussing enough?
- To: Wolfgang Bangerth <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>
- Subject: Re: pedantic: not fussing enough?
- From: Andreas Jaeger <aj at suse dot de>
- Date: Thu, 12 Jul 2001 17:02:51 +0200
- Cc: gcc at gcc dot gnu dot org, Carlos Pita <cpitaar at yahoo dot com dot ar>
- References: <Pine.SOL.4.10.10107121652440.940-100000@eros>
Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> writes:
> On Wed, 11 Jul 2001, Carlos Pita wrote:
>
>> I'm studying the ISO C++ standard in some detail. While Im reading it I
>> use to compile some tests using g++ (3.0) with the -pedantic command line
>> option and to compare the actual results (reports) against the ones required
>> by the statements in the standard. I think it would be helpful to post any
>> possible violations to the standard I could find (except, of course, for
>> rules for which no diagnostic is required, which would not be a violation).
>
> I think it would even be interesting to have the test case that did _not_
> fail: they might be turned into an automatic test suite to assure that
> future gcc development does not break any conformance that exists today.
> There are such conformance test suites, but as far as I know they have
> licenses that do not allow their inclusion into gcc, so having an
> independent 'free' one that could be run as part of the usual regression
> checking would certainly be beneficial.
>
> So maybe you could modify all your tests (not only those that fail) into a
> form that fits into the regression test suite of gcc?
That would be a worthwile task! Currently the testsuite contains
mainly tests for things that did not work at one time but trying to
cover the complete C++ standard and therefore covering all parts of
the compiler would help compiler development a lot IMO.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj