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]

Re: REG_USERVAR_P and GCSE



  In message <199810200517.PAA09465@geoffk.wattle.id.au>you write:
  > > cc: egcs-patches@cygnus.com
  > > Date: Sun, 18 Oct 1998 23:47:06 -0600
  > > From: Jeffrey A Law <law@cygnus.com>
  > 
  > >   > The attached test program, compiled with egcs 1.1b (and my previous
  > >   > GCSE fix) under powerpc-linux, with 'gcc -O2 x.c -o x', abort()s in
  > >   > f2, when it should not.
  > >   > 
  > >   > I'll save everyone the long discussion of what GCSE is doing to the
  > >   > program (although this is a great example of how GCSE works).  The
  > >   > problem is that GCSE is creating a new register, register 94 when I
  > >   > run it, which does not have REG_USERVAR_P set:
  > > You really should have explained this a little more.  I spent about an
  > > hour starting at dumps to find out what was wrong.
  > 
  > Sorry about that.  I should have mentioned that the fastest way to
  > find the bug is to trace the generated assembler, only about 10
  > instructions actually get executed before abort() is hit.
Just to verify, you did get a later message from me which basically agreed that
your patch was the best we could do until we can totally revamp LICM and that
I had installed it in both the mainline sources and the egcs-1.1 branch.
Right?

jeff



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