This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/68277] [5] [SH]: error: insn does not satisfy its constraints when compiling erlang


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]