This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: 3.3 C++ PATCH to instantiate_class_template for c++/10661
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 08 May 2003 17:04:10 -0700
- Subject: Re: RFA: 3.3 C++ PATCH to instantiate_class_template for c++/10661
- Organization: CodeSourcery, LLC
- References: <wvlk7d12p7j.fsf@prospero.boston.redhat.com>
On Thu, 2003-05-08 at 12:49, Jason Merrill wrote:
> 10661 is a bug whereby implicit typename is causing us to try to
> instantiate a nested class without instantiating its enclosing class,
> causing an ICE. This patch fixes the testcase. We could also give a
> diagnostic here, so that people know that their code is ill-formed, but
> that seems less safe than this patch. Is this OK for 3.3?
Would you post the test-case, please?
My initial inclination is that this is a 3.3.1, but not 3.3, issue.
(This is an ICE-on-illegal, due to the use of implicit typename.)
Thanks,
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC