This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Draft "Unsafe fp optimizations" project description.
- To: ajschrotenboer at lycosmail dot com, dewar at gnat dot com, gcc at gcc dot gnu dot org,gdosreis at sophia dot inria dot fr, toon at moene dot indiv dot nluug dot nl
- Subject: Re: Draft "Unsafe fp optimizations" project description.
- From: dewar at gnat dot com
- Date: Sun, 5 Aug 2001 11:30:31 -0400 (EDT)
<<It seems to me that this really doesn't belong in the compiler proper,
and would be best served
separately.
>>
You will miss many opportunities if you try to do these kind of
optimizations separately in a preprocessor. Why? Because optimizations
of all kinds yield other opportunities for optimziation, most notably
inlining is in this category. Indeed we have had several people on the
list note that the reason the programmer cannot always do these
transformations manually is because of inlining.