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: martin at mira dot isdn dot cs dot tu-berlin dot de (Martin von Loewis)
- Subject: Re: cp functions not called during testsuite execution
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Tue, 25 Aug 1998 16:24:50 +0100 (BST)
- Cc: mrs at wrs dot com, egcs at cygnus dot com
> > That boils down to a recipe to remove error handling code from the compiler.
> > Who would pledge that he uses the 'functionality' to detect some stupid
> > typo in his development code?
>
> Are you saying that there is no way to remove presumably dead code
> from gcc?
There is a way, but it can't be automated (at least not with current
technology ;-) .
You have to prove that the code is dead. E.g. , you might find a set of
necessary preconditions for the code to be executed, and then a reason
why this set o precondition is never met.