From patchwork Wed Nov 19 08:49:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 412302 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0563A14014D for ; Wed, 19 Nov 2014 19:49:27 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; q=dns; s=default; b=rskhVeT0BK0mOWtx DOssGmWrv/cdoE7gf5VszzYjVHfhpNRZc/k0g+nATOLGcwuqLh78JMAU0EBRjsUu 9Ryj8AYoSsAqfhuFsGvBCa2OG49sSUTAJ7Qnzebrv1HPfNfLSKuL7/XoWc+etymS eLZFyUTp0oACHZk2jpqt9mZ7ss8= 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:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=default; bh=FzHowXGtRO78KeriWRnH/J MyJwA=; b=aRKdvyf5XGqi7VTXWRop//6esFqznpe9aCXIv0vOSJbDZoIKrK9ddY D7r12Pb3CXN5tdssK0ArdoFrVnEPNkmWe5WD5o/O8i3lNNSxeOwWptwJAY6/vegF s4KUeSF8bAfjDj9UyTr0nr/MwYq8DvyLsONB9vpizVzgXAHZyqhq8= Received: (qmail 18840 invoked by alias); 19 Nov 2014 08:49:19 -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 18824 invoked by uid 89); 19 Nov 2014 08:49:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 19 Nov 2014 08:49:17 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6B3CFACD3; Wed, 19 Nov 2014 08:49:14 +0000 (UTC) From: Andreas Schwab To: Alexander Ivchenko Cc: GCC Patches Subject: Re: [PATCH, testsuite] Add bind_pic_locally to certain tests References: X-Yow: With this weapon I can expose fictional characters and bring about sweeping reforms!! Date: Wed, 19 Nov 2014 09:49:13 +0100 In-Reply-To: (Alexander Ivchenko's message of "Wed, 12 Nov 2014 19:45:24 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 * gcc.dg/pure-2.c: Update line numbers. diff --git a/gcc/testsuite/gcc.dg/pure-2.c b/gcc/testsuite/gcc.dg/pure-2.c index 638bd7c..fe6e2bc 100644 --- a/gcc/testsuite/gcc.dg/pure-2.c +++ b/gcc/testsuite/gcc.dg/pure-2.c @@ -8,14 +8,14 @@ extern int v; /* Trivial. */ int foo1(int a) /* { dg-bogus "normally" "detect pure candidate" } */ -{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "9" } */ +{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "10" } */ return v; } /* Loops known to be normally and extern const calls should be safe. */ int __attribute__ ((noinline)) foo2(int n) /* { dg-bogus "normally" "detect pure candidate" } */ -{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "16" } */ +{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "17" } */ int ret = 0; int i; for (i=0; i