Bring in fix from:
http://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=43804 Allows libmudflap to compile on m68k: /usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c: In function '__mf_wrap_alloca_indirect': /usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1: error: insn does not satisfy its constraints: (insn 360 142 68 13 /usr/src/external/gpl3/gcc/dist/libmudflap/mf-impl.h:257 (set (reg/f:SI 6 %d6 [159]) (const:SI (unspec:SI [ (symbol_ref:SI ("__mf_state_1") [flags 0x50] <var_decl 0x7f7ff7304d20 __mf_state_1>) (const_int 1 [0x1]) ] 6))) 36 {*movsi_m68k} (nil))/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
This commit is contained in:
parent
1ffeba3ee9
commit
7006e67fd8
|
@ -94,7 +94,8 @@
|
|||
(define_constraint "T"
|
||||
"Used for operands that satisfy 's' when -mpcrel is not in effect."
|
||||
(and (match_code "symbol_ref,label_ref,const")
|
||||
(match_test "!flag_pic")))
|
||||
(match_test "!TARGET_PCREL")
|
||||
(match_test "!flag_pic || LEGITIMATE_PIC_OPERAND_P (op)")))
|
||||
|
||||
(define_memory_constraint "Q"
|
||||
"Means address register indirect addressing mode."
|
||||
|
|
Loading…
Reference in New Issue