This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fdump-translation-unit considered harmful
Tom Tromey <tromey@redhat.com> writes:
| >>>>> "Joe" == Joe Buck <Joe.Buck@synopsys.COM> writes:
|
| Joe> That said, in the long term the free software world needs good code
| Joe> analysis tools, so I suspect that at some point the FSF will have to
| Joe> revisit this policy.
|
| These seem to be under development outside of GCC -- there's both
| sparse and the C/C++ parsing stuff in Eclipse. Maybe GCC already
| missed the boat here. For all we know things will go the other way
| and in a few years we'll be looking at how to use these external front
| ends instead of ours :-)
And that is regretable. While I believe competition is good, I don't
think it is worthwhile spending resources re-inventing the same wheel
over and over again, just because some purely non-technical reasons
very hard to explain and justify before facts and reality.
To approach correctness, one needs to exceed the critical mass of user
base. That is hard to achieve when the community is fractured between
incomplete and competing tools. Many projects in this area had
failed precisely because they did not get the critical mass.
-- Gaby