From patchwork Mon Nov 5 19:19:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 197275 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 DE1662C03E6 for ; Tue, 6 Nov 2012 06:19:32 +1100 (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=1352747973; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:Date:To:Subject:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-ID:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=THOx42N5s7HSyYqPFvEtmXZzxnU=; b=Rmbf+DpJiObn6AOwTvf8UWDibXVqne+Y8Xap7Y/1MiOUkPhi6tbQLrdmMLT/WE yT5tisOvhjKLWpfkVgRip0qrGvcZFYMS//KoTcEXf7pkKo5ir0qy7MSC1ZE+lHfm qX9kglSKoQpwqgWDC4s8diptrIUIqEwOw2aoOsYow87T8= 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:X-M-MSG:Received:Received:Received:From:Date:To:Subject:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID:X-EMS-Proccessed:X-EMS-STAMP:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=w+plpzhqlT8guWAGE0XC2WFPa0SS0M2gB7jljDW2q76+iZly3WtcngeUmoeA3R cSfjwrDbw296XvxNl/IAK9xDiOU1u/RiqZ4PDzBFMmKhvt0pWwYEIKQ+8vf/Nbpw gt1VkoL+Fln6MzBhn4YhXX0r4iQA6R6IdOyzFnsmW7JYE=; Received: (qmail 31633 invoked by alias); 5 Nov 2012 19:19:26 -0000 Received: (qmail 31581 invoked by uid 22791); 5 Nov 2012 19:19:25 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, KHOP_SPAMHAUS_DROP, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from dns1.mips.com (HELO dns1.mips.com) (12.201.5.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Nov 2012 19:19:21 +0000 Received: from mailgate1.mips.com (mailgate1.mips.com [12.201.5.111]) by dns1.mips.com (8.13.8/8.13.8) with ESMTP id qA5JJJ5X019520 for ; Mon, 5 Nov 2012 11:19:19 -0800 X-M-MSG: Received: from exchdb01.mips.com (unknown [192.168.36.84]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mailgate1.mips.com (Postfix) with ESMTP id 20A0F364652 for ; Mon, 5 Nov 2012 11:19:18 -0800 (PST) Received: from ubuntu-sellcey.mips.com (192.168.65.53) by exchhub01.mips.com (192.168.36.84) with Microsoft SMTP Server id 14.1.270.1; Mon, 5 Nov 2012 11:19:14 -0800 Received: by ubuntu-sellcey.mips.com (sSMTP sendmail emulation); Mon, 05 Nov 2012 11:19:14 -0800 From: "Steve Ellcey " Date: Mon, 5 Nov 2012 11:19:14 -0800 To: Subject: [patch, testsuite, mips] Fix gcc.dg/torture/mips-sdata-1.c User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Message-ID: <853292c5-73e0-4fbe-8174-1734f559dd5d@EXCHHUB01.MIPS.com> X-EMS-Proccessed: 6LP3oGfGVdcdb8o1aBnt6w== X-EMS-STAMP: OCKB8PSklsdhoLWoQpX9dQ== 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 The test gcc.dg/torture/mips-sdata-1.c fails when compiled with -fno-fat-lto-objects because when that option is used no assembly code is output and thus the scan does not find the '.sdata' line. Checked with the mips-mti-elf target. OK to checkin? Steve Ellcey sellcey@mips.com 2012-11-05 Steve Ellcey * gcc.dg/torture/mips-sdata-1.c: Skip on -fno-fat-lto-objects. diff --git a/gcc/testsuite/gcc.dg/torture/mips-sdata-1.c b/gcc/testsuite/gcc.dg/torture/mips-sdata-1.c index 8ffd4d8..53c9e4f 100644 --- a/gcc/testsuite/gcc.dg/torture/mips-sdata-1.c +++ b/gcc/testsuite/gcc.dg/torture/mips-sdata-1.c @@ -1,6 +1,7 @@ /* Check that sdata-accesses are applied regardless of size or ABI. */ /* { dg-options -mexplicit-relocs } */ /* { dg-do compile { target mips*-*-elf* } } */ +/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */ struct s { int x[4]; }; struct s my_struct __attribute__((__section__(".sdata")));