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: gcc.dg/debug/debug-[12].c failures on cmov targets


On Thu, Dec 04, 2003 at 09:59:41AM +0100, Eric Botcazou wrote:
> Even when everything is folded into the result?

Yes.  At absolute minimum, the variable should still exist,
but have no associated AT_location, meaning that it has been
completely optimized away.  

I would hope that wouldn't happen in this case.  I would hope
that the variable gets allocated to the return register, which
is what happens on Alpha.

The lexical scope should *not* vanish.


r~


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