From: jason Date: Thu, 3 May 2012 21:29:07 +0000 (+0000) Subject: * gengtype.c (write_types): Fix warning message. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84879dd03fef9df62d708c561150bab6c4fb2e9e;p=thirdparty%2Fgcc.git * gengtype.c (write_types): Fix warning message. (write_local): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187118 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5a34e836944..8081d8031af5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-05-03 Jason Merrill + + * gengtype.c (write_types): Fix warning message. + (write_local): Likewise. + 2012-05-02 Jason Merrill * dwarf2out.c (struct external_ref, build_local_stub): New. diff --git a/gcc/gengtype.c b/gcc/gengtype.c index 02d4c8c89d1e..814d9e0c39c1 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; }