Re: virtual stack regs.

2007-06-19 Thread Paolo Bonzini
ARG_POINTER_REGNUM is included in the artificial defs of all blocks (which I think is overly conservative - just having them in the entry block def should be enough). Hence, from dataflow point of view, they are always considered initialized. I think we should probably do something similar for

Re: virtual stack regs.

2007-06-19 Thread Seongbae Park (박성배, 朴成培)
On 6/19/07, Rask Ingemann Lambertsen <[EMAIL PROTECTED]> wrote: .. Hmm, how do you handle arg_pointer_rtx, frame_pointer_rtx and the like? The are all uninitialized until the prologue is emitted, which is some time after reload. ARG_POINTER_REGNUM is included in the artificial defs of all bl

Re: virtual stack regs.

2007-06-19 Thread Rask Ingemann Lambertsen
On Tue, Jun 19, 2007 at 08:33:52AM -0400, Kenneth Zadeck wrote: > > Since it sounds like you understand this, are either of you willing/able > to attack the problem at it's source? Uros is already at it http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01317.html>. -- Rask Ingemann Lambertsen

Re: virtual stack regs.

2007-06-19 Thread Kenneth Zadeck
Rask Ingemann Lambertsen wrote: > On Tue, Jun 19, 2007 at 11:11:54AM +0200, Uros Bizjak wrote: > >> On 6/19/07, Rask Ingemann Lambertsen <[EMAIL PROTECTED]> wrote: >> >>> It is possible to mess up the substitution that the vregs pass performs. >>> IIRC, it happened to me once because I ac

Re: virtual stack regs.

2007-06-19 Thread Rask Ingemann Lambertsen
On Tue, Jun 19, 2007 at 11:11:54AM +0200, Uros Bizjak wrote: > On 6/19/07, Rask Ingemann Lambertsen <[EMAIL PROTECTED]> wrote: > > > > It is possible to mess up the substitution that the vregs pass performs. > >IIRC, it happened to me once because I accidentally put one of these > >virtual > >ps

Re: virtual stack regs.

2007-06-19 Thread Uros Bizjak
On 6/19/07, Rask Ingemann Lambertsen <[EMAIL PROTECTED]> wrote: > 3) If they really are uninitialized, why is it a problem to assign zero > to them. It is possible to mess up the substitution that the vregs pass performs. IIRC, it happened to me once because I accidentally put one of these v

Re: virtual stack regs.

2007-06-19 Thread Rask Ingemann Lambertsen
On Mon, Jun 18, 2007 at 08:28:25PM -0400, Kenneth Zadeck wrote: > I would like to get some more information about pr32374. > > I do not know what virtual_stack_vars are and there is no documentation > in the doc directory. less -p 'Virtual registers ' gcc/rtl.h less -p 'enum global_rtl_index' gcc

Re: virtual stack regs.

2007-06-19 Thread Jan Hubicka
> I would like to get some more information about pr32374. > > I do not know what virtual_stack_vars are and there is no documentation > in the doc directory. It is documented: @findex VIRTUAL_STACK_VARS_REGNUM @cindex @code{FRAME_GROWS_DOWNWARD} and virtual registers @item VIRTUAL_STACK_VARS_REG