From patchwork Thu Feb 11 08:14:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 581778 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 DEB5A140B8C for ; Thu, 11 Feb 2016 19:14:56 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=ZapVSh1G; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=OJc+FeFM9t1VxbaaI/whJcrfGmtlVGwT6NnQ0iwk/fWMM2zOpVmnX t7iSB6Q1mj9fn9ZPs8dPV+RNPzFO8DbP8WcKTQHZjwLJxdjF0hN+gOlPd9695HRT NrIQrxQiGNPVHrlx+pZHu/EoFohsxDhEzoHgFunEEntju/8gZs9bcg= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=ijHpn8XSWgEVytshIFY/wXgECcg=; b=ZapVSh1GjjhsrN9beCWP G8XFU3Azg61atfYsthtLzpJzyCHY4Bl7G/2YShhRMsdWJXwjfKKOhAfn6ZkN+xvT 1JQNLc6J+8MTkj27b6/zK3AUqpnWNgKR+Br4qkGdoJYsIME89cQMdQN97hvIhAzv 9byie/RePvzpudoFYVXiukA= Received: (qmail 122773 invoked by alias); 11 Feb 2016 08:14:49 -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 122759 invoked by uid 89); 11 Feb 2016 08:14:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=496, 49, 6, fre3, late X-HELO: mx2.suse.de Received: from mx2.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; Thu, 11 Feb 2016 08:14:47 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 55455AABB for ; Thu, 11 Feb 2016 08:14:44 +0000 (UTC) Date: Thu, 11 Feb 2016 09:14:44 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Adjust g++.dg/tree-ssa/pr61034.C Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 I forgot to update this after adding the late DCE pass. We now have zero calls to free in .optimized. Tested on x86_64-unknown-linux-gnu. Richard. 2016-02-11 Richard Biener * g++.dg/tree-ssa/pr61034.C: Adjust. Index: gcc/testsuite/g++.dg/tree-ssa/pr61034.C =================================================================== --- gcc/testsuite/g++.dg/tree-ssa/pr61034.C (revision 233268) +++ gcc/testsuite/g++.dg/tree-ssa/pr61034.C (working copy) @@ -49,6 +49,5 @@ bool f(I a, I b, I c, I d) { // a different initial CFG and thus the final outcome is different // { dg-final { scan-tree-dump-times "free" 10 "fre3" { target x86_64-*-* i?86-*-* } } } -// { dg-final { scan-tree-dump-times "free" 3 "optimized" { target x86_64-*-* i?86-*-* } } } // { dg-final { scan-tree-dump-times "free" 14 "fre3" { target aarch64-*-* ia64-*-* arm-*-* hppa*-*-* sparc*-*-* powerpc*-*-* alpha*-*-* } } } -// { dg-final { scan-tree-dump-times "free" 4 "optimized" { target aarch64-*-* ia64-*-* arm-*-* hppa*-*-* sparc*-*-* powerpc*-*-* alpha*-*-* } } } +// { dg-final { scan-tree-dump-times "free" 0 "optimized" } }