This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: uninitialized var in decl.c(make_typename_type)
- To: nathan at cs dot bris dot ac dot uk, nathan at acm dot org
- Subject: Re: C++ PATCH: uninitialized var in decl.c(make_typename_type)
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 02 Jun 1999 07:32:48 -0700
- Cc: egcs-patches at egcs dot cygnus dot com
- Organization: CodeSourcery, LLC
- References: <37550E27.DBAB09BD@acm.org>
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