Re: gcc46: .././../gcc-4.6-20121123/gcc/rtl.h:2105:31: error: use of undeclared identifier 'FIRST_PSEUDO_REGISTER', rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER];

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 02 Dec 2012 15:02:17 +0100
On 2012-12-01 13:18, O. Hartmann wrote:
> On exactly ONE FreeBSD 10.0-CURRENT box, out of a couple, all the same
> OS version (most recent sources/buildworld with CLANG and ports tree
> always up to date) I get this nasty error shown below.
...
> In file included from .././../gcc-4.6-20121123/gcc/genflags.c:28:
> .././../gcc-4.6-20121123/gcc/rtl.h:1989:13: warning: ISO C forbids
> forward references to 'enum' types [-Wpedantic]
> extern enum reg_class reg_preferred_class (int);
>              ^
> .././../gcc-4.6-20121123/gcc/rtl.h:2105:31: error: use of undeclared
> identifier 'FIRST_PSEUDO_REGISTER'
>    rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER];
>                                ^
> .././../gcc-4.6-20121123/gcc/rtl.h:2112:31: error: use of undeclared
> identifier 'FIRST_PSEUDO_REGISTER'
>    rtx x_static_reg_base_value[FIRST_PSEUDO_REGISTER];
>                                ^

Can you post the full build log somewhere?
Received on Sun Dec 02 2012 - 13:02:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC