Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/m68k Bring in fix from:
details: https://anonhg.NetBSD.org/src/rev/14c6e702b104
branches: trunk
changeset: 778961:14c6e702b104
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 22 15:15:46 2012 +0000
description:
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
diffstat:
external/gpl3/gcc/dist/gcc/config/m68k/constraints.md | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 49d19a946b8e -r 14c6e702b104 external/gpl3/gcc/dist/gcc/config/m68k/constraints.md
--- a/external/gpl3/gcc/dist/gcc/config/m68k/constraints.md Sun Apr 22 14:32:08 2012 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/m68k/constraints.md Sun Apr 22 15:15:46 2012 +0000
@@ -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."
Home |
Main Index |
Thread Index |
Old Index