This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cp functions not called during testsuite execution
- To: egcs at cygnus dot com, martin at mira dot isdn dot cs dot tu-berlin dot de
- Subject: Re: cp functions not called during testsuite execution
- From: mrs at wrs dot com (Mike Stump)
- Date: Sun, 23 Aug 1998 23:51:05 -0700
> Date: Sun, 23 Aug 1998 19:37:30 +0200
> From: Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
> Some of the functions are probably dead; and I'd like to remove
> them, one by one, putting assertions in the places where they have
> been called.
Uhm, no. This is kinda like delete every line that isn't executed.
Sure you can do that, and even after doing that the compiler would run
the testsuite and pass with flying colors, the problem is when 100% or
95% of all real code stops working.
Instead, put in a warning that says 'tell Martin you're using this bit
of functionality, or risk loosing it in the next major release.' run
it that way for a while (year), then remove them. Put a unique number
in each, so that you can tell quickly which reports go with which
code.