This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Again a new parser bug
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 22 Jan 2003 13:40:34 -0800
- Subject: Re: Again a new parser bug
--On Wednesday, January 22, 2003 10:28:29 PM +0100 Richard Guenther
<rguenth@tat.physik.uni-tuebingen.de> wrote:
I keep finding bugs in the new parser by trying to compile pooma with it.
:-) I'm trying to keep up...
and accepted by earlier g++ and EDG in strict mode. This is c++/9407.
I don't think this one is a bug; I think you have to say:
typedef typename Foo<Dim>::Bar Bar;
Bar(1);
Earlier G++ accepted this because it did no name lookup in templates; I'm
not sure why EDG accepts it. I'll ask 'em. If they agree it's a bug,
I'll close the report.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com