This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]