This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [C++ patch]: reorganize tree inlining


  In message <3B406AED.39469753@codesourcery.com>you write:
  > Fergus Henderson wrote:
  > > I think it would be nicer to put the documentation of `inlined'
  > > before the documentation for `optimized', i.e. to list the different
  > > stages in cronological order.
  > I don't think that possible, in general. Consider some constant
  > propagation/unreachable code optimization. You'd want to run that both
  > before and after inlining I guess.
Right.  You want to run cprop before inlining to clean up any sillyness
and propagate constants to call sites.  You can to run cprop after inlining
to take advantage of any inlinable call sites where one or more arguments is
a constant.


jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]