From patchwork Mon Nov 4 19:07:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Mi X-Patchwork-Id: 288233 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D9F4C2C0347 for ; Tue, 5 Nov 2013 06:07:33 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type; q=dns; s=default; b=PQjRiA7lUCcpJxFH9ZsQUdioHDPuevkZHaBWber12aF 31sxFklNaAFpNYiUThxcezLP2hIn1fH04XASb23RofzKk9z6sCfQeB9i4PkfrFmA ghSyRTSXQLpVpjR3bj5pYXP0o/3qxTA3yq2q0RLlmg2IsWeT0h3I9IJWDfitRfbw = 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 :mime-version:date:message-id:subject:from:to:cc:content-type; s=default; bh=aN30aOho6/z0gX5u3qkuAphAhwc=; b=TgdBUl5o1Ncq9ExK7 2PuejrmRODVKqIXdAMJUOETbVs5XZ3oRer7r/WATZtQ3ouw0w8Qq0JOZobKnWFPE zaXLj7OQUYcNGe2b+GV5rPsINoi9P+eUW71ODusUEzzCFMx62uA3VwEsab/YSm7H frIuPkJSzkAiNVSoANFQ/dkFBM= Received: (qmail 21703 invoked by alias); 4 Nov 2013 19:07:21 -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 21684 invoked by uid 89); 4 Nov 2013 19:07:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_40, RDNS_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-oa0-f50.google.com Received: from Unknown (HELO mail-oa0-f50.google.com) (209.85.219.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 04 Nov 2013 19:07:20 +0000 Received: by mail-oa0-f50.google.com with SMTP id j6so7689332oag.9 for ; Mon, 04 Nov 2013 11:07:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=Ips5tnzlwZn8MZWfYpaHtn6sg5oNukwre8wZemXhOC0=; b=JIMrs8vneeshxdtCkJiJ3Vv1F0mKGIDfEuWVQ9u+ZKa4ihYEQuuP719Y7bZ50h9cmO cRbywppN4lLY5mSg5zru0NBpJMn2Xj6KDN7STbIXIw6UvQw9nxhX69MAGt/2RAcFL7Q0 kgrtGIR3ApNI6FvwrTGcGFZ0RUwNDO/THw6iiZqy/7zBCfeKyucnEo86W60jz/eTb2kt ayGtfCBFDLZ2s3WHWpie9YeIQT6V94uQqgsJRypN42k/0AU1ib+nCMZ46ocaqoDiQrqd SkSfIO2ROAbIoACtEsftCY1+cfxPptrfPCdZvWyh8IPkhAFRj4BsN/BMCYT0jFYI4tIQ 6Ayg== X-Gm-Message-State: ALoCoQmFldQRZ0eSqrbhc8UXETKIgQ6G9dnvERwtbo/X/wI1bgF/mN/pXweIs+HMXaa6AKAaiQSNaC2C3O3/9ei/tQY8fXjif5O0S/kb2wgGFAOThjroPhL+/duOWjS4afp7+plO8dr10pcxIj8C1lI0NlYMD4PgA4XRsTX8i/8qSvXDZRhKHqHfl5sb4t3WuALRo3eeS1PkhbDWicRNNpKjdiGk9BLg6w== MIME-Version: 1.0 X-Received: by 10.60.138.136 with SMTP id qq8mr1740796oeb.59.1383592032251; Mon, 04 Nov 2013 11:07:12 -0800 (PST) Received: by 10.76.75.3 with HTTP; Mon, 4 Nov 2013 11:07:12 -0800 (PST) Date: Mon, 4 Nov 2013 11:07:12 -0800 Message-ID: Subject: [PATCH] PR58985: testcase error. From: Wei Mi To: GCC Patches Cc: Vladimir Makarov , hp@gcc.gnu.org Hi, This is to fix testcase error reported in PR58985. The intention of the testcase was to ensure there was no REG_EQUIV notes generated for a reg which was used in a paradoxical subreg. When target was x86, there was subreg generated so I omitted to add the subreg in the regexp pattern. However there is no subreg generated for target cris-axis-elf, so REG_EQUIV should be allowed. Is it ok for trunk and gcc-4.8 branch? Thanks, Wei Mi. 2013-11-04 Wei Mi PR regression/58985 * testsuite/gcc.dg/pr57518.c: Add subreg in regexp pattern. char ip[10]; int total; Index: testsuite/gcc.dg/pr57518.c =================================================================== --- testsuite/gcc.dg/pr57518.c (revision 204353) +++ testsuite/gcc.dg/pr57518.c (working copy) @@ -2,7 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-rtl-ira" } */ -/* { dg-final { scan-rtl-dump-not "REG_EQUIV\[^\n\]*mem\[^\n\]*\"ip\"" "ira" } } */ +/* { dg-final { scan-rtl-dump-not "REG_EQUIV\[^\n\]*mem\[^\n\]*\"ip\".*subreg" "ira" } } */