This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: MCore: Fix building libgcc
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 17 Aug 2012 10:52:28 +0100
- Subject: Commit: MCore: Fix building libgcc
Hi Guys,
I am applying the patch below to fix a problem building libgcc for the
mcore-elf target. The cbranchsi4 pattern was applying a mode to the
comparison operator which was preventing it from matching rtl
generated by the middle end.
Cheers
Nick
gcc/ChangeLog
2012-08-17 Nick Clifton <nickc@redhat.com>
* config/mcore/mcore.md (cbranchsi4): Remove mode from
comparison.
Index: gcc/config/mcore/mcore.md
===================================================================
--- gcc/config/mcore/mcore.md (revision 190466)
+++ gcc/config/mcore/mcore.md (working copy)
@@ -1502,7 +1502,7 @@
(define_expand "cbranchsi4"
[(set (pc)
- (if_then_else (match_operator:SI 0 "ordered_comparison_operator"
+ (if_then_else (match_operator 0 "ordered_comparison_operator"
[(match_operand:SI 1 "mcore_compare_operand")
(match_operand:SI 2 "nonmemory_operand")])
(label_ref (match_operand 3 ""))