C compile time
Jeff Sturm
jsturm@one-point.com
Thu Jun 19 17:33:00 GMT 2003
On 19 Jun 2003, Mark Mitchell wrote:
> > Why do we want inline before gimplifing?
>
> We might want to do that to do C++-specific optimizations.
>
> Jason, Jeff, and I talked about this some at the conference; it's not
> clear what the right answer is. Some C++-specific optimizations
> (virtual call elimination is a canonical example) really want flow
> graphs and inlining, constant propagation, and dead code elimination to
> have happenned, but still want some C++-specific bits lying around.
Java may want to do similar optimizations, plus some of its own
(elimination of redundant synchronization and class initialization come
immediately to mind). Some of the frontend code could be simplified or
perhaps removed entirely once the CFG is available, such as
check_for_initialization.
Jeff
More information about the Gcc
mailing list