From patchwork Thu Apr 26 00:27:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janis Johnson X-Patchwork-Id: 155143 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 BDEADB6FF2 for ; Thu, 26 Apr 2012 10:25:04 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1336004706; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version: To:Subject:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=MxY94GklKpS3gllQO2MpTPlK23Q=; b=uwu36Wd9O5Dif4u EL46vFL6yStAKi9Vm7FqnaL861oDbo2moygRg/nWDLhe3zy5nfHjIMWK3pmjqsO8 JrXJ8RnNSt4dHdiSCzUMQ3i/V0s2PrCVkhKQWu9n58mxwaty2ehWX9LUshIXF1Py 7vMLHxPD8AODueN3dWrGNV4md1kM= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=f8QXXQcDjvFlbX1XH80EOBC4MFDRZgrRfPN7amUyVvq6dxR03ROaNCGtwQKpjr X6SzZfewoFSvyFSRZKKEzd6rvhdNc4vhuFAQ/9EhAtMKLZdWgp3OoXwCu9pxxBdm YZp03rE0YLW7YxsIurjMYOjP4UR80ZS5yPssU5hxrV8j8=; Received: (qmail 23118 invoked by alias); 26 Apr 2012 00:25:01 -0000 Received: (qmail 23108 invoked by uid 22791); 26 Apr 2012 00:25:00 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Apr 2012 00:24:44 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SNCVn-0006cm-2n from Janis_Johnson@mentor.com for gcc-patches@gcc.gnu.org; Wed, 25 Apr 2012 17:24:43 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Apr 2012 17:24:42 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Wed, 25 Apr 2012 17:24:42 -0700 Message-ID: <4F98966B.8010404@mentor.com> Date: Wed, 25 Apr 2012 17:27:23 -0700 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [patch] fix test gcc.dg/bf-ms-layout.c 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 A couple of months ago Kai Tietz fixed several tests for MS layout of bitfields, including: 2012-02-23 Kai Tietz * gcc.dg/bf-ms-layout-2.c: Adjust offsets to fit ms-bitfield structure-layout. He missed changes to gcc.dg/bf-ms-layout.c which has the same layouts as bf-ms-layout-2.c but uses a command line option while the other uses attributes. Test gcc.dg/bf-ms-layout.c currently fails on mainline for i686-mingw32. This patch fixes the expected offsets in bf-ms-layout.c to match those in the modified test, bf-ms-layout-2.c. OK for mainline? Janis 2012-04-25 Janis Johnson