This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fdump-translation-unit considered harmful (was Re: cp tree question)
Nathan Sidwell <nathan@codesourcery.com> writes:
| Zack Weinberg wrote:
| > We should get rid of -fdump-translation-unit. It has never done what
| > people think it does, the output format has never been documented, no
| > one cares to improve either of those things, and we now have
| > tree-pretty-print.c which is language-independent and far easier to
| > read. No, it's not machine parseable, but neither is
| > -fdump-translation-unit's format, if you really sit down and think
| > about it.
|
| fine by me.
It would be a real mistake. If you don't care about it, and other
people are using it, that you should leave it useful to those people.