[PATCH 0/7] Sparc atomic optabs errata

David Miller davem@davemloft.net
Mon Nov 21 00:22:00 GMT 2011


From: Richard Henderson <rth@redhat.com>
Date: Thu, 17 Nov 2011 11:22:53 -1000

> Full sparc64-linux testing still underway; I've pushed these two
> patches to the git branch previously mentioned.

With these changes most of the libgomp atomic tests fail to build:

/home/davem/src/GIT/GCC/gcc/libgomp/testsuite/libgomp.c/atomic-1.c: In function 'f1':
/home/davem/src/GIT/GCC/gcc/libgomp/testsuite/libgomp.c/atomic-1.c:26:1: error: unrecognizable insn:
(insn 20 19 21 5 (parallel [
            (set (reg:DI 115 [ D.2288 ])
                (mem/v:DI (reg/f:SI 130) [-1 S8 A64]))
            (set (mem/v:DI (reg/f:SI 130) [-1 S8 A64])
                (unspec_volatile:DI [
                        (reg:DI 111 [ D.2288 ])
                        (reg:DI 114 [ D.2286 ])
                    ] 8))
        ]) /home/davem/src/GIT/GCC/gcc/libgomp/testsuite/libgomp.c/atomic-1.c:21 -1
     (nil))
/home/davem/src/GIT/GCC/gcc/libgomp/testsuite/libgomp.c/atomic-1.c:26:1: internal compiler error: in extract_insn, at recog.c:2137

This is a 32-bit compiler configured with "--with-cpu=niagara3".



More information about the Gcc-patches mailing list