This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3012: c++ bug
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/3012: c++ bug
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 2 Jun 2001 01:26:02 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
The following reply was made to PR c++/3012; it has been noted by GNATS.
From: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
To: "Artem Khodush" <artem@duma.gov.ru>
Cc: "Robert B. Lowrie" <lowrie@belle.lanl.gov>, <gcc-gnats@gcc.gnu.org>,
<furboo@cybermesa.com>, <gcc-bugs@gcc.gnu.org>
Subject: Re: c++/3012: c++ bug
Date: 02 Jun 2001 03:12:21 +0200
"Artem Khodush" <artem@duma.gov.ru> writes:
| Robert B. Lowrie wrote:
| > If a templated member function `foo' of even a non-templated class
| > `A' is called within a templated class `B' with the syntax
| > foo<double>(), the compiler gives a syntax error.
|
| > // when B is a template, compile fails on this line:
| > a.foo<double>();
|
| Not a bug.
This IS a known bug in the parser.
-- Gaby