This is the mail archive of the gcc@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: -O0 dead code



  In message <20000808005643.A6080@cygnus.com>you write:
  > So how do people feel about the notion of dead code elimination at -O0?
  > If we exclude the bits that that detect dead stores, we shouldn't be
  > affecting any user-visible state, since all user variables live in
  > memory at -O0.
  > 
  > It shouldn't (though I've not checked) take any more compile time than
  > we're using now, since flow1 is used to collect lifetimes for register
  > allocation.  Normal dead code elimination happens concurrent to that.
Sounds good to me.  I've always been a believer in generating unoptimized
code, not stupid code at -O0 :-)

jeff


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