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]
Other format: [Raw text]

Tree dumps and (garbage?) local variables


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/


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