From patchwork Fri Aug 5 13:32:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aldy Hernandez X-Patchwork-Id: 108656 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 6E5CAB6F67 for ; Fri, 5 Aug 2011 23:33:13 +1000 (EST) Received: (qmail 20776 invoked by alias); 5 Aug 2011 13:33:04 -0000 Received: (qmail 20503 invoked by uid 22791); 5 Aug 2011 13:33:03 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Aug 2011 13:32:40 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p75DWeJc008520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 5 Aug 2011 09:32:40 -0400 Received: from houston.quesejoda.com (vpn-228-22.phx2.redhat.com [10.3.228.22]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p75DWdXi016919 for ; Fri, 5 Aug 2011 09:32:39 -0400 Message-ID: <4E3BF0F7.7030508@redhat.com> Date: Fri, 05 Aug 2011 08:32:39 -0500 From: Aldy Hernandez User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: gcc-patches Subject: [s390] [committed]: fix call to store_bit_field() Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Target could not build due to missing new arguments. Tested by building cc1. Committed as obvious. * config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to store_bit_field. (s390_expand_atomic): Same. Index: config/s390/s390.c =================================================================== --- config/s390/s390.c (revision 177430) +++ config/s390/s390.c (working copy) @@ -4733,7 +4733,8 @@ s390_expand_cs_hqi (enum machine_mode mo if (ac.aligned && MEM_P (cmp)) { cmpv = force_reg (SImode, val); - store_bit_field (cmpv, GET_MODE_BITSIZE (mode), 0, SImode, cmp); + store_bit_field (cmpv, GET_MODE_BITSIZE (mode), 0, + 0, 0, SImode, cmp); } else cmpv = force_reg (SImode, expand_simple_binop (SImode, IOR, cmp, val, @@ -4741,7 +4742,8 @@ s390_expand_cs_hqi (enum machine_mode mo if (ac.aligned && MEM_P (new_rtx)) { newv = force_reg (SImode, val); - store_bit_field (newv, GET_MODE_BITSIZE (mode), 0, SImode, new_rtx); + store_bit_field (newv, GET_MODE_BITSIZE (mode), 0, + 0, 0, SImode, new_rtx); } else newv = force_reg (SImode, expand_simple_binop (SImode, IOR, new_rtx, val, @@ -4818,7 +4820,8 @@ s390_expand_atomic (enum machine_mode mo /* FALLTHRU */ case SET: if (ac.aligned && MEM_P (val)) - store_bit_field (new_rtx, GET_MODE_BITSIZE (mode), 0, SImode, val); + store_bit_field (new_rtx, GET_MODE_BITSIZE (mode), 0, + 0, 0, SImode, val); else { new_rtx = expand_simple_binop (SImode, AND, new_rtx, ac.modemaski,