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


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


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