Tree dumps and (garbage?) local variables

Richard Guenther rguenth@tat.physik.uni-tuebingen.de
Fri Aug 27 14:13:00 GMT 2004


If looking at tree-dumps in later optimization phases I get distracted
by pages of local variables declared that are never used in the function.
Like f.i. 573 lines of var-decls for 88 lines of code (including empty
lines and labels).

Are these really still hanging around?  Do they maybe consume still
memory (during compilation)?  Where in the tree-dumper do I need to look
to implement sth like -fdump-strip-unused-variables?

Thanks for any hints!

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/



More information about the Gcc mailing list