This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FW: trademark filings for GCC?
The Green Hills compiler already existed when I first wrote GCC. I
read some of its output and was amused by the foolish
mis-optimizations that it made. For instance, it moved the constant 3
into a stack slot so as to avoid the work of recomputing it (with an
immediate operand!) each time around a loop. This taught me the
importance of working on good heuristics for deciding whether to do
code motion.