-fdump-translation-unit considered harmful
Ian Lance Taylor
ian@airs.com
Thu May 12 20:41:00 GMT 2005
"Dams, Dennis \(Dennis\)" <dennis@research.bell-labs.com> writes:
> I'm trying to use the -fdump-translation-unit option (gcc (GCC)
> 4.1.0 20050505 (experimental)), but it does not seem to do
> anything. What's the right way to use it - should I specify any
> additional switches/options?
-fdump-translation-unit doesn't do anything in the C frontend. The C
frontend almost generates GENERIC anyhow. -fdump-translation-unit
does do something in the C++ frontend. Try it when compiling a C++
file.
Ian
More information about the Gcc
mailing list