This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ PATCH: uninitialized var in decl.c(make_typename_type)



Actually, there was no bug; if you look at the data flow you'll see
that t was always initialized where it was used.  But, the compiler is
never going to be able to figure it out; it depends on
uses_template_parms returning identical values when called two
different times.

Your patch is fine.

Thanks!

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]