This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC CVS mainline does not build on i686-linux (rtlcheck failure)
- From: Richard Henderson <rth at redhat dot com>
- To: Graham Stott <graham dot stott at btinternet dot com>
- Cc: Andreas Jaeger <aj at suse dot de>, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Oct 2002 12:47:10 -0700
- Subject: Re: GCC CVS mainline does not build on i686-linux (rtlcheck failure)
- References: <u84rbrdbcv.fsf@gromit.moeb> <3DA835D6.1020103@btinternet.com>
On Sat, Oct 12, 2002 at 03:46:46PM +0100, Graham Stott wrote:
> if ((TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == PARM_DECL)
> && DECL_REGISTER (decl)
> + && REG_P (DECL_RTL (decl))
> && REGNO (DECL_RTL (decl)) < FIRST_PSEUDO_REGISTER)
Lemme guess: the problem ocurrs with a variable that was declared
as "register int foo;", but this is a non-optimizing compile, so we
dropped it to the stack anyway?
If so, this patch is ok.
r~