re PR target/56453 (Gcc segmentation fault building argz_add.c for xcompiler newlib for fr30-elf)

PR target/56453
	Import this patch from the mainline:

	2012-08-17  Nick Clifton  <nickc@redhat.com>

	* config/fr30/fr30.md (cbranchsi4): Remove mode from comparison.
	(branch_true): Likewise.
	(branch_false): Likewise.

From-SVN: r196292
This commit is contained in:
Nick Clifton 2013-02-26 14:58:17 +00:00 committed by Nick Clifton
parent 19b2ec2951
commit 2e6067a8f7
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,14 @@
2013-02-26 Nick Clifton <nickc@redhat.com>
PR target/56453
Import this patch from the mainline:
2012-08-17 Nick Clifton <nickc@redhat.com>
* config/fr30/fr30.md (cbranchsi4): Remove mode from comparison.
(branch_true): Likewise.
(branch_false): Likewise.
2013-02-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/56443

View File

@ -940,7 +940,7 @@
(compare:CC (match_operand:SI 1 "register_operand" "")
(match_operand:SI 2 "nonmemory_operand" "")))
(set (pc)
(if_then_else (match_operator:CC 0 "ordered_comparison_operator"
(if_then_else (match_operator 0 "ordered_comparison_operator"
[(reg:CC 16) (const_int 0)])
(label_ref (match_operand 3 "" ""))
(pc)))]
@ -980,7 +980,7 @@
(define_insn "*branch_true"
[(set (pc)
(if_then_else (match_operator:CC 0 "comparison_operator"
(if_then_else (match_operator 0 "comparison_operator"
[(reg:CC 16)
(const_int 0)])
(label_ref (match_operand 1 "" ""))
@ -1034,7 +1034,7 @@
;; branch occurs if the test is false, so the %B operator is used.
(define_insn "*branch_false"
[(set (pc)
(if_then_else (match_operator:CC 0 "comparison_operator"
(if_then_else (match_operator 0 "comparison_operator"
[(reg:CC 16)
(const_int 0)])
(pc)