From patchwork Wed Jan 17 11:44:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 862233 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-471466-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="aSX3iE9I"; dkim-atps=neutral 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 3zM4yC2gPHz9s83 for ; Wed, 17 Jan 2018 22:44:51 +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:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=pwCSsSmd/zqKgu+W ZSx5LlAp8rSLlPFslYdsEtEG69cJPR5XTJowuebUJSa4X2JZDXENrATKmZhn0z/D DVtsu1pRweOpYQIaiLold3sxahz0Q+YgyylPjk6w1RWrhGN8OpymaI9mkiiTjdNO dOxVvtxXvxM3kzxtZlCsW6agOsc= 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:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=0zm3l1vC2AFw2vld0M6OyE IwreQ=; b=aSX3iE9IT8RqAqe4770tZ5XD0w++50bSaR9MA2mvw4SntoNZnt3SeK blcPQYfoORhtCJOO92NaIsgMVWWeXPKdJGPW4ePDYDtWdrQc9qFtkgaQ40sbjCrk bVsvfI+HE+vlrLfP9HnICaWV1Eun2x6XH+yymal6tLRuInKaMJQKg= Received: (qmail 87346 invoked by alias); 17 Jan 2018 11:44:44 -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 87334 invoked by uid 89); 17 Jan 2018 11:44:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1026 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 17 Jan 2018 11:44:42 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id AC76D8138F for ; Wed, 17 Jan 2018 12:44:40 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IgjKPF-J2m9g for ; Wed, 17 Jan 2018 12:44:40 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 8A5B08138B for ; Wed, 17 Jan 2018 12:44:40 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [testsuite] Tweak gcc.dg/ipa/inlinehint-4.c Date: Wed, 17 Jan 2018 12:44:39 +0100 Message-ID: <4611464.mdo3hBmmJh@polaris> MIME-Version: 1.0 This adds --param inline-unit-growth=20 to the set of options passed to the testcase, which is the default setting but makes it possible for the test to pass on targets which changes the default, like Visium. Tested on visium-elf & x86_64-suse-linux, applied on the mainline as obvious. 2018-01-17 Eric Botcazou * gcc.dg/ipa/inlinehint-4.c: Also pass --param inline-unit-growth=20. Index: gcc.dg/ipa/inlinehint-4.c =================================================================== --- gcc.dg/ipa/inlinehint-4.c (revision 256776) +++ gcc.dg/ipa/inlinehint-4.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-options "-O3 -fdump-ipa-inline-details -fno-early-inlining --param large-unit-insns=1 -fno-partial-inlining" } */ +/* { dg-options "-O3 -fdump-ipa-inline-details -fno-early-inlining -fno-partial-inlining --param large-unit-insns=1 --param inline-unit-growth=20" } */ /* { dg-add-options bind_pic_locally } */ int *hashval; int *hash;