From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1233 invoked by alias); 13 Jul 2014 07:49:20 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 1184 invoked by uid 89); 13 Jul 2014 07:49:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sun, 13 Jul 2014 07:49:15 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3hB0Vv4t4Dz3hjdZ; Sun, 13 Jul 2014 09:49:11 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3hB0Vv2M2yz7S6RZ; Sun, 13 Jul 2014 09:49:11 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id z1jvzk8-3Rnt; Sun, 13 Jul 2014 09:49:10 +0200 (CEST) X-Auth-Info: 5HpLRKQhkHplkdlVm/e5VqNnRwjNHtiAZ4gLc1q+n6c= Received: from linux.local (host-188-174-214-59.customer.m-online.net [188.174.214.59]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 13 Jul 2014 09:49:10 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id 4ACFC1E571A; Sun, 13 Jul 2014 09:49:09 +0200 (CEST) From: Andreas Schwab To: Rong Xu Cc: Xinliang David Li , Jakub Jelinek , Richard Biener , Jan Hubicka , GCC Patches , Xinliang David Li , Teresa Johnson , Dehao Chen Subject: Re: [PATCH] offline gcda profile processing tool References: <20140415213850.GA23141@atrey.karlin.mff.cuni.cz> <20140417033448.GC3157@kam.mff.cuni.cz> <20140711154426.GX31640@tucnak.redhat.com> X-Yow: Why was I BORN? Date: Sun, 13 Jul 2014 07:49:00 -0000 In-Reply-To: (Rong Xu's message of "Fri, 11 Jul 2014 11:29:56 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2014-07/txt/msg00896.txt.bz2 Rong Xu writes: > In my test, I used gcc-4.6 as the host compiler. I got warning like this: > > In file included from ../../gcc/gcc/../libgcc/libgcov-util.c:30:0: > ../../gcc/gcc/../libgcc/libgcov.h:184:30: warning: ISO C++ forbids > zero-size array ‘ctrs’ [-pedantic] With gcc 4.3 this is an error, so -Wno-error has no effect. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."