This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/68277] [5] [SH]: error: insn does not satisfy its constraints when compiling erlang
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Nov 2015 12:15:56 +0000
- Subject: [Bug target/68277] [5] [SH]: error: insn does not satisfy its constraints when compiling erlang
- Auto-submitted: auto-generated
- References: <bug-68277-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68277
--- Comment #1 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
Created attachment 36686
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36686&action=edit
reduced test case for -O1
It fails on trunk too. It seems that the problematic add insn
(insn 765 764 300 46 (set (reg:SI 10 r10)
(plus:SI (reg:SI 1 r1)
(const_int 4 [0x4]))) add3i.c:7 66 {*addsi3}
(nil))
is generated with the old reload to load a memory address of
the complex atomic_compare_and_swapsi_soft_gusa insn and
postreload complains about that insn.