While adjusting some GTY markers I started getting warnings about '^C'
used but not defined; this looks to be a cut and paste error.
Applying as obvious.
commit 26c4827e3ffe0be492e68a31193c120fdf806756
Author: Jason Merrill <ja...@redhat.com>
Date: Thu Apr 26 19:17:21 2012 -0400
* gengtype.c (write_types): Fix warning message.
(write_local): Likewise.
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index 02d4c8c..814d9e0 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -3286,7 +3286,7 @@ write_types (outf_p output_header, type_p structures, type_p param_structs,
if (stru->u.s.line.file == NULL)
{
fprintf (stderr, "warning: structure `%s' used but not defined\n",
- s->u.s.tag);
+ stru->u.s.tag);
continue;
}
}
@@ -3522,7 +3522,7 @@ write_local (outf_p output_header, type_p structures, type_p param_structs)
if (stru->u.s.line.file == NULL)
{
fprintf (stderr, "warning: structure `%s' used but not defined\n",
- s->u.s.tag);
+ stru->u.s.tag);
continue;
}