-fdump-translation-unit does'nt dump as expected.

Diego Novillo dnovillo@google.com
Fri Mar 20 19:13:00 GMT 2009


On Thu, Mar 5, 2009 at 11:25, Praveen D V <for.pdv@gmail.com> wrote:

> $gcc -fdump-translation-unit try.c
>  generates try.c.001t.tu (earlier versions generated try.c.tu). I
> don't see any reference of MyStruct in the generated file.
> Please help, am I missing any thing in the process?

The dumps are meant to be used when debugging the compiler.  They are
not meant to be complete.  In particular global type definitions are
never dumped.


Diego.



More information about the Gcc-help mailing list