This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure (on FreeBSD)
same failure on i486-linux-gnu
Gerald Pfeifer writes:
> Turns out it is an RTL sharing issue on i386. Jan, that's probably one
> for you?
>
>
> [bootstrap/33352] invalid rtl sharing -- bootstrap failure compiling libgomp/team.c on i386
>
> /sw/test/GCC/trunk/libgomp/team.c: In function 'gomp_thread_start':
> /sw/test/GCC/trunk/libgomp/team.c:131: error: invalid rtl sharing found in the insn
> (insn 22 21 23 2 /sw/test/GCC/trunk/libgomp/team.c:89 (parallel [
> (set (reg:SI 74)
> (plus:SI (reg:SI 70)
> (const:SI (plus:SI (unspec:SI [
> (symbol_ref:SI ("gomp_tls_data") [flags 0x22] <var_decl 0x48954ac8 gomp_tls_data>)
> ] 5)
> (const_int 8 [0x8])))))
> (clobber (reg:CC 17 flags))
> ]) 170 {*addsi_1} (nil))
> /sw/test/GCC/trunk/libgomp/team.c:131: error: shared rtx (const:SI (plus:SI (unspec:SI [
> (symbol_ref:SI ("gomp_tls_data") [flags 0x22] <var_decl 0x48954ac8 gomp_tls_data>)
> ] 5)
> (const_int 8 [0x8])))
> /sw/test/GCC/trunk/libgomp/team.c:131: internal compiler error: internal consistency failure
>
> Gerald