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

Re: [tree-ssa] Enable SSA DCE by default [patch]


On Sat, 08 Feb 2003, Richard Henderson wrote:

> On Sat, Feb 08, 2003 at 11:51:53PM -0500, Diego Novillo wrote:
> > - DCE was not considering VA_ARG_EXPRs inherently live.
> 
> That shouldn't be.  If you've modeled the first argument
> as in-out, then you should be able to detect when the 
> first argument is live afterward.
> 
Indeed.  In my haste I forgot to add that the argument pointer
'ap' was actually dead when DCE decided to kill it, but killing
the VA_ARG_EXPR node caused the miscompilation of cp/error.c.  I
added a FIXME note in the code which I will be looking at next
week.


Diego.


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