public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: mike stump <mrs@windriver.com>
To: jsm28@cam.ac.uk, rth@redhat.com
Cc: dewar@gnat.com, gcc@gcc.gnu.org
Subject: Re: Loop unroll fixes
Date: Tue, 18 Sep 2001 11:54:00 -0000	[thread overview]
Message-ID: <200109181852.LAA22164@kankakee.wrs.com> (raw)

> Date: Tue, 18 Sep 2001 10:19:02 +0100 (BST)
> From: "Joseph S. Myers" <jsm28@cam.ac.uk>

> * Where <URL: http://gcc.gnu.org/ml/gcc/2001-05/msg01273.html > says
> (of creating synthetic testcases for bugs shown up by confidential
> code) "sometimes specific tests for fixed bugs are definitely cases
> of closing the doors after the cows have fled", this is misleading
> since such testcases may be necessary in future to debug problems
> with the fix; so creating such testcases would not be as described
> there "work that competes with everything else going on" but
> something at which a reasonable effort *must* be made before a fix
> is installed in FSF GCC.

I think that all changes to gcc should come with at least one testcase
that actually demonstrates why the change was a good idea.  If the
code merely changes performance, then the performance suite should
have a testcase that shows the performance advantage.  The last point
we currently never do, so I can be dissuaded for now that it is
unrealistic, but, I think for real bugs, it is possible to meet this
requirement.  The testsuite is invaluable to the quality of the
compiler in so many ways.  It should be a requirement, not optional.

I do realize that sometimes a testcase isn't possible, but in my
experience, those are rare.  A good example of such, would be a
testcase in the C++ framework to test throwing in/out and trough a
shared library.  The old-deja.exp framework doesn't have enough beef
to do this.  A testcase is impossible within it, without massive
modifications to old-deja.exp.

An non-example would be 112 thousand lines of customer proprietary
code which changes any time almost anything is played with.  Been
there, done that, not that hard, just time consuming to trim the
testcase and sanitize it.

If the folks that contributed the testsuite we have felt the same way
as dewar, it is clear to me that we would not have a gcc/g++
testsuite, or that it would be smaller.

             reply	other threads:[~2001-09-18 11:54 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-18 11:54 mike stump [this message]
2001-09-18 12:34 ` Joseph S. Myers
2001-09-19 11:28   ` Joe Buck
2001-09-24  9:31     ` law
  -- strict thread matches above, loose matches on Subject: below --
2001-10-10  1:12 Wolfgang Bangerth
2001-10-10  1:16 ` Mark Mitchell
2001-10-10  5:14   ` Franz Sirl
2001-10-10 11:08     ` Mark Mitchell
2001-09-18 17:36 Richard Kenner
2001-09-18 10:47 Benjamin Kosnik
2001-09-18  4:16 Richard Kenner
     [not found] <200109142021.QAA26236@makai.watson.ibm.com>
2001-09-15  8:57 ` Bernd Schmidt
2001-09-17 13:16   ` Richard Henderson
2001-09-17 14:24     ` Joe Buck
2001-09-17 15:11       ` Richard Henderson
2001-09-17 17:22         ` Mark Mitchell
2001-09-18  2:19         ` Joseph S. Myers
     [not found] <Pine.LNX.4.33.0109141957550.29416-100000@host140.cambridge.redhat.com>
2001-09-14 14:36 ` David Edelsohn
2001-09-13 16:35 Zoltan Hidvegi
2001-09-13 18:58 ` David Edelsohn
2001-09-13 23:50   ` Jim Wilson
2001-09-14  6:55     ` Daniel Berlin
2001-09-14 12:15       ` Joseph S. Myers
2001-09-14 16:45       ` Jim Wilson
2001-09-14 20:11         ` David Edelsohn
2001-09-14 22:23           ` Jim Wilson
2001-09-15  2:42           ` Bernd Schmidt
2001-09-14 21:16         ` Daniel Berlin
2001-09-14  9:41     ` David Edelsohn
2001-09-14 10:46       ` Bernd Schmidt
2001-09-14 11:47         ` David Edelsohn
2001-09-14 17:54       ` Jim Wilson
2001-09-14 18:35         ` David Edelsohn
2001-09-14 19:56           ` Jim Wilson
2001-09-15  2:56         ` Joseph S. Myers
2001-10-04  6:46 ` Franz Sirl
2001-10-04  7:40   ` Mark Mitchell
2001-10-04 20:46   ` Jim Wilson
2001-10-04 20:51     ` Mark Mitchell
2001-10-04 23:10       ` Zoltan Hidvegi
2001-10-10  0:05         ` Mark Mitchell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200109181852.LAA22164@kankakee.wrs.com \
    --to=mrs@windriver.com \
    --cc=dewar@gnat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=jsm28@cam.ac.uk \
    --cc=rth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).