This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.1: bug with inherited templates when specified bynamespace
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Richard Smith <richard at ex-parrot dot com>
- Cc: Gabriel Dos Reis <gdr at codesourcery dot com>, Dylan Cuthbert <dylan at q-games dot com>, "Mountfort, Geoff" <gmountfort at avaya dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 27 Jun 2002 15:49:18 -0700
- Subject: Re: gcc 3.1: bug with inherited templates when specified bynamespace
Prior to 3.0 the use of a template-id or a namespace as a base class
caused an ICE, since then it has silently ignored the illegal base class.
I guess that going from ICEing on an invalid base class to silently
dropping the base class is a regression of sorts. At least with an ICE
it was clear there was an error of some sort, now it's not.
Agreed. Gaby, install the patch.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com