From patchwork Sun Jan 19 19:23:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 312390 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 D9E3E2C00AC for ; Mon, 20 Jan 2014 06:23:30 +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:content-type; q= dns; s=default; b=grTCyglgLTocPxB1h2CZbVmD03Lu6msliG/p2c15M9vWgp SvJGns+E/dHooTCpaOxJFnXnA7eqLchO7TH4UE96Q2vTWR5Z64zYSzs7PwPf4NIV 8cfhkERUSqrG7R1mxWk5BFxfij9oMyZKjjNF2V8DgON47VPIukgSh6Bp8Tc2s= 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:content-type; s= default; bh=tGQkp3cWPiubQl2UiPkbzyiw2is=; b=Lw/m9l3EVQOxVQqLyqqr 5eLL/NAbAJGiOdRIRD4tP01DbTqnTQGM2s055xONtPjnY8GZu1RZbxdYpFYRZhs1 Wb8stjWq2Hif4whkjyPXWs3Hww+k6hmhcEkIo1hxoz9RGLjSRoV3etnQuKJuwqcs 0nuEETL2NQCCTAdMMeaVaLA= Received: (qmail 8463 invoked by alias); 19 Jan 2014 19:23:23 -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 8454 invoked by uid 89); 19 Jan 2014 19:23:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f171.google.com Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 19 Jan 2014 19:23:21 +0000 Received: by mail-ob0-f171.google.com with SMTP id wp4so1225958obc.16 for ; Sun, 19 Jan 2014 11:23:20 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.60.228.135 with SMTP id si7mr12014941oec.4.1390159399982; Sun, 19 Jan 2014 11:23:19 -0800 (PST) Received: by 10.182.137.136 with HTTP; Sun, 19 Jan 2014 11:23:19 -0800 (PST) Date: Sun, 19 Jan 2014 20:23:19 +0100 Message-ID: Subject: [PATCH, testsuite]: g++.dg/pr49718.C: Add "-mno-explicit-relocs" for alpha*-*-* targets. From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Hello! Alpha needs "-mno-explicit-relocs" to count number of function calls properly. 2014-01-19 Uros Bizjak * g++.dg/pr49718.C: Add "-mno-explicit-relocs" for alpha*-*-* targets. Tested on alphaev6-pc-linux-gnu and committed to mainline SVN. Uros. Index: g++.dg/pr49718.C =================================================================== --- g++.dg/pr49718.C (revision 206758) +++ g++.dg/pr49718.C (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -finstrument-functions" } */ +/* { dg-additional-options "-mno-explicit-relocs" { target alpha*-*-* } } */ /* { dg-final { scan-assembler-times "__cyg_profile_func_enter" 1} } */ #define NOINSTR __attribute__((no_instrument_function))