Treedump output

Svein E. Seldal Svein.Seldal@solidas.com
Wed Sep 8 15:53:00 GMT 2004


Hi,

It seems the problem was caused by myself (again) :) (thanks Daniel Berlin).

The file that I was compiling was empty except for the line "int foo = 
42;". When I add a C function to this file, the compiler will start 
giving out a lot of debug files.

BUT: This misses my point of my debug output. I'm not interested in 
debugging the internal statements of a function. I'm insterested in how 
the compiler handles typedef's, variables and initialization (including 
strings) in the trees. And according to what I've seen so far, only 
function debug output is given using -fdump-tree. Shoot.

I thought that -fdump-tree dumped the entire tree that it had build up 
in memory and not only a function sub-set. Or are there any ways to get 
everything dumped to an output file?


Svein



More information about the Gcc mailing list