This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] warnings in omp-low.c: In function 'omp_copy_decl'
- From: Richard Henderson <rth at redhat dot com>
- To: Christian Joensson <christian dot joensson at gmail dot com>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Sun, 9 Oct 2005 19:15:05 -0700
- Subject: Re: [gomp] warnings in omp-low.c: In function 'omp_copy_decl'
- References: <5460e3330510090811j8a30f58wccafd9a3f49dfbbd@mail.gmail.com>
On Sun, Oct 09, 2005 at 05:11:10PM +0200, Christian Joensson wrote:
> ../../gcc.gomp/gcc/omp-low.c:352: warning: unknown conversion type
> character 'E' in format
Fixed.
r~
* omp-low.c (omp_copy_decl): Use %qs instead of %qE.
Index: omp-low.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/omp-low.c,v
retrieving revision 1.1.2.13
diff -u -p -r1.1.2.13 omp-low.c
--- omp-low.c 9 Oct 2005 23:01:20 -0000 1.1.2.13
+++ omp-low.c 10 Oct 2005 02:13:40 -0000
@@ -367,7 +367,8 @@ omp_copy_decl (tree var, copy_body_data
switch (default_kind)
{
case OMP_CLAUSE_DEFAULT_NONE:
- error ("%qE not specified in enclosing parallel", var);
+ error ("%qs not specified in enclosing parallel",
+ IDENTIFIER_POINTER (DECL_NAME (var)));
error ("%Henclosing parallel", EXPR_LOCUS (ctx->stmt));
/* FALLTHRU */