This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cp functions not called during testsuite execution


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]