This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] offline gcda profile processing tool
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Rong Xu <xur at google dot com>
- Cc: Xinliang David Li <davidxl at google dot com>, Jakub Jelinek <jakub at redhat dot com>, Richard Biener <richard dot guenther at gmail dot com>, Jan Hubicka <hubicka at ucw dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Xinliang David Li <xinliangli at gmail dot com>, Teresa Johnson <tejohnson at google dot com>, Dehao Chen <dehao at google dot com>
- Date: Sun, 13 Jul 2014 09:49:07 +0200
- Subject: Re: [PATCH] offline gcda profile processing tool
- Authentication-results: sourceware.org; auth=none
- References: <CAF1bQ=T7xuC7O4=n90eN-pKh0me0d1e+50iXFtEcOD4o8s0ArQ at mail dot gmail dot com> <CAF1bQ=TypsiC1Aa3Bz14cxX5sP9Zt02ecVPuU_xnS=2+zmDAQg at mail dot gmail dot com> <CAF1bQ=SPdSH8ffMSEBkGQqH-w7b5ye3mC4n2CwqenH8EbGR+PA at mail dot gmail dot com> <20140415213850 dot GA23141 at atrey dot karlin dot mff dot cuni dot cz> <CAF1bQ=Tsi9JmmZSQo4NJwfes-1EAzzVC_645YEpO5k6PRaeKqA at mail dot gmail dot com> <20140417033448 dot GC3157 at kam dot mff dot cuni dot cz> <CAF1bQ=RD2d1E8PGi9FW5WffPupNcG84TBv53GH62k5vVwu2fGQ at mail dot gmail dot com> <CAF1bQ=SYZfERgODf=Yc=qRtDxhJg-8Dt0OaGKf4GxM0_y+vUbg at mail dot gmail dot com> <CAFiYyc0WO3-4VQ0KDYkg6wb55A72-6A+h_L47X0vMUafziOM9Q at mail dot gmail dot com> <CAAkRFZ+SzUCN8vkWaKGiGna3oN0qbph6tpB=r1kWqybeEg6EMw at mail dot gmail dot com> <20140711154426 dot GX31640 at tucnak dot redhat dot com> <CAAkRFZKRqFCbLyJzPvwkPRgoZCS2aGCqiAxbT0zZejXZhkw6iw at mail dot gmail dot com> <CAF1bQ=QGdDgirnSA4dWDD-gym7V9KBW-9aOEvEH4Kbx5jvs2OQ at mail dot gmail dot com>
Rong Xu <xur@google.com> 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."