GCC CVS mainline does not build on i686-linux (rtlcheck failure)
Richard Henderson
rth@redhat.com
Sun Oct 13 12:47:00 GMT 2002
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~
More information about the Gcc-bugs
mailing list