RFA: 3.3 C++ PATCH to instantiate_class_template for c++/10661
Mark Mitchell
mark@codesourcery.com
Fri May 9 00:04:00 GMT 2003
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
More information about the Gcc-patches
mailing list