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]
Other format: [Raw text]

Re: Dead code elimination of dead structure assignments in gcc


In message <20020123110523.A7653@redhat.com>, Richard Henderson writes:
 > On Wed, Jan 23, 2002 at 06:58:59AM -0700, law@redhat.com wrote:
 > > >From a brief look at your example, I would expect flow to delete your
 > > dead stores -- I don't know why it isn't working.
 > 
 > Flow only does this for leaf basic blocks (ones ending in a return
 > or a noreturn function call).  We do not propagate stack slot life
 > information into other blocks.
Ah.  That would be a problem.

It seems to me that propagating through reverse extended basic blocks
would allow us to pick up more dead stores into the stack.

jeff


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