GCC Status Report (2004-04-05)

Richard Guenther rguenth@tat.physik.uni-tuebingen.de
Mon Apr 5 17:45:00 GMT 2004


Paolo Carlini wrote:
> Richard Guenther wrote:
> 
>> Oh well.  If only we had a simple way to kill all unused sourcecode in 
>> a testcase to begin with...
> 
> 
> Delta?!?
> 
>    http://www.cs.berkeley.edu/~dsw/
> 
> Paolo.

Yes I know this, but it is painful (for C++) and slow.  I suppose all 
the information on ever used (for lookup or instantiation) classes, 
methods, functions and variables is available during compilation and so 
extracting this information where it is available (in the compiler!) 
would be easy (at least for someone understanding the C++ parser). 
Running delta for two days just to get information the C++ compiler has 
in the first place doesnt sound right.

Of course delta will assist in reducing the testcase after the compiler 
has stripped all unused code.

Richard.



More information about the Gcc mailing list