This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: REG_USERVAR_P and GCSE
- To: Geoff Keating <geoffk at ozemail dot com dot au>
- Subject: Re: REG_USERVAR_P and GCSE
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 19 Oct 1998 01:28:44 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199810170757.RAA02250@geoffk.wattle.id.au>you write:
>
> 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:
I spent some more time looking at this. It's an interesting problem.
I don't have time to summarize tonight though....
jeff