From patchwork Tue May 21 13:26:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Graham Stott X-Patchwork-Id: 245309 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id B48FE2C00BB for ; Tue, 21 May 2013 23:26:53 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:reply-to:subject:to:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=rLg H99vppkGSy3cZU3A8/TJ1s25rESnalZg/jaB70rh3frsZrBqK23+DZ/bG5miI2s/ qSObK4zToi28dvpOjZ843kJT7YVkQuoZItwrUDEERIfzv8fYEX9N1MwZWY0CldLU ZEIFjipeZbr3bcjkNIwKjblc1qCNzoP1cX0xpHHA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:reply-to:subject:to:mime-version :content-type:content-transfer-encoding; s=default; bh=pUblTLnhJ FSFo7708P9E413pSEY=; b=i42XSeAu855flS9pat5UJyqo64RLBRvvqkAMMEA2m xKK5yrxky39wI8FwQ8T5LaQtn1lOcW1wTgZFSFcVKfJZrdPs5QsD2UdGGTRBPU4K 50qycNnr6gV5FNh3WgPFwClnJsQlzZVl0pMVRm4H3NDRomsaHl9Ok4pCDmgR8Bkx Gc= Received: (qmail 17245 invoked by alias); 21 May 2013 13:26:46 -0000 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 Received: (qmail 17234 invoked by uid 89); 21 May 2013 13:26:46 -0000 X-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=AWL, BAYES_50, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_YE, RCVD_IN_SORBS_WEB autolearn=no version=3.3.1 Received: from nm5-vm8.bt.bullet.mail.ir2.yahoo.com (HELO nm5-vm8.bt.bullet.mail.ir2.yahoo.com) (212.82.99.236) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 21 May 2013 13:26:45 +0000 Received: from [212.82.98.40] by nm5.bt.bullet.mail.ir2.yahoo.com with NNFMP; 21 May 2013 13:26:43 -0000 Received: from [212.82.98.33] by tm1.bt.bullet.mail.ir2.yahoo.com with NNFMP; 21 May 2013 13:26:43 -0000 Received: from [127.0.0.1] by omp1002.bt.mail.ir2.yahoo.com with NNFMP; 21 May 2013 13:26:43 -0000 Received: (qmail 75649 invoked by uid 60001); 21 May 2013 13:26:43 -0000 Received: from [217.156.133.130] by web87405.mail.ir2.yahoo.com via HTTP; Tue, 21 May 2013 14:26:42 BST Message-ID: <1369142802.49112.YahooMailNeo@web87405.mail.ir2.yahoo.com> Date: Tue, 21 May 2013 14:26:42 +0100 (BST) From: Graham Stott Reply-To: Graham Stott Subject: Testsuite MIPS libs/scanasm.exe allow mathing against (no)micromips/ To: "gcc-patches@gcc.gnu.org" MIME-Version: 1.0 All,   When micromips was added scanasm.exe wasn't updated this was causing a few tests which scanned the assembler output to start failing such as dg.c++/debiug/dwarf2/lineno-simple1.C.   Fixed with the ollowing patch   Graham testuite/ChangeLog:    21-05-2013   * graham stott  graham.stott@btinternet.com     * lib/scanasm.exp (dg-function-on-line) target mips-*-*-* allow matching aginst micromips    directive Index: scanasm.exp =================================================================== --- scanasm.exp (revision 199093) +++ scanasm.exp (working copy) @@ -493,7 +493,7 @@   set pattern [format {\t;[^:]+:%d\n(\t[^\t]+\n)+%s:\n\t.PROC} \                       $line $symbol]      } elseif { [istarget mips*-*-*] } { - set pattern [format {\t\.loc [0-9]+ %d 0( [^\n]*)?\n(\t.cfi_startproc[^\t]*\n)*\t\.set\t(no)?mips16\n\t\.ent\t%s\n\t\.type\t%s, @function\n%s:\n} \ + set pattern [format {\t\.loc [0-9]+ %d 0( [^\n]*)?\n(\t.cfi_startproc[^\t]*\n)*\t\.set\t(no)?mips16\n\t\.set\t(no)?micromips\n\t\.ent\t%s\n\t\.type\t%s, @function\n%s:\n} \         $line $symbol $symbol $symbol]      } else {   set pattern [format {%s:[^\t]*(\t.(fnstart|frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \