This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: An issue for the SC: horrible documentation quality of GCC
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, gcc at gcc dot gnu dot org
- Date: Sat, 10 May 2003 12:07:33 -0400
- Subject: Re: An issue for the SC: horrible documentation quality of GCC
>>>>> Zdenek Dvorak writes:
Zdenek> The sane way
Zdenek> how to write a compiler is to run these generic passes first, then
Zdenek> run machine-dependent passes that may eventually fix the mistakes
Zdenek> the previous optimizations have done (due to their generic ideas being
Zdenek> not right in some corner cases). This way we would get approximately
Zdenek> the same results, but in much more transparent way.
This assumes that the mistakes can be corrected with a later
machine-dependent pass, which is not always correct. Plus it takes more
compile time to correct the mistakes instead of choosing the correct
heuristics in the first place. The generic pass already needs to apply
*some* heuristic.
David