https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68277
Bug ID: 68277 Summary: [5] [SH]: error: insn does not satisfy its constraints when compiling erlang Product: gcc Version: 5.2.1 URL: https://buildd.debian.org/status/fetch.php?pkg=erlang& arch=sh4&ver=1%3A18.1-dfsg-1&stamp=1447057369 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: kkojima at gcc dot gnu.org, olegendo at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* Created attachment 36681 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36681&action=edit Pre-processed source for beam/erl_alloc.c from erlang Hi! Compiling on Debian sh4 with gcc-5 fails with: beam/erl_alloc.c: In function 'reply_alloc_info': beam/erl_alloc.c:3223:1: error: insn does not satisfy its constraints: } ^ (insn 4435 4434 857 66 (set (reg:SI 5 r5) (plus:SI (reg:SI 1 r1) (const_int 40 [0x28]))) ../include/internal/gcc/ethr_membar.h:196 65 {*addsi3} (nil)) beam/erl_alloc.c:3223:1: internal compiler error: in extract_constrain_insn, at recog.c:2246 Full build log in [1]. Attaching pre-processed source cc1AGEHe.out. Let me know if you need any additional input. Cheers, Adrian > [1] > https://buildd.debian.org/status/fetch.php?pkg=erlang&arch=sh4&ver=1%3A18.1-dfsg-1&stamp=1447057369