From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30053 invoked by alias); 12 Jun 2011 10:34:19 -0000 Received: (qmail 29843 invoked by uid 22791); 12 Jun 2011 10:34:19 -0000 X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtpoutwbe04.prod.mesa1.secureserver.net (HELO smtpoutwbe04.prod.mesa1.secureserver.net) (208.109.78.206) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sun, 12 Jun 2011 10:34:04 +0000 Received: (qmail 19516 invoked from network); 12 Jun 2011 10:34:03 -0000 Received: from unknown (HELO localhost) (72.167.218.131) by smtpoutwbe04.prod.mesa1.secureserver.net with SMTP; 12 Jun 2011 10:34:03 -0000 Received: (qmail 14204 invoked by uid 99); 12 Jun 2011 10:34:03 -0000 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" User-Agent: Web-Based Email 5.5.04 Message-Id: <20110612033402.aaa2c6acbe2fcbd4897bea2c255aade5.2b1aaa01c5.wbe@email03.secureserver.net> From: "Anthony Green" To: gcc-patches@gcc.gnu.org Cc: richard.sandiford@linaro.org Subject: [patch, moxie] Fix comparison regression Date: Sun, 12 Jun 2011 10:49:00 -0000 Mime-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00931.txt.bz2 I've just committed this patch. It makes match_operator modeless for moxie comparisons. This fixes a regression introduced in March by this patch: http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01344.html 2011-06-12 Anthony Green * config/moxie/moxie.md (cbranchsi4): Remove mode from comparison. Index: gcc/config/moxie/moxie.md =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/config/moxie/moxie.md (revision 174933) +++ gcc/config/moxie/moxie.md (working copy) @@ -308,7 +308,7 @@ (match_operand:SI 1 "general_operand" "") (match_operand:SI 2 "general_operand" ""))) (set (pc) - (if_then_else (match_operator:CC 0 "comparison_operator" + (if_then_else (match_operator 0 "comparison_operator" [(reg:CC CC_REG) (const_int 0)]) (label_ref (match_operand 3 "" "")) (pc)))]