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: Parse error with member templates


Matt Austern <austern@apple.com> writes:

| On Friday, September 13, 2002, at 01:53 PM, Gabriel Dos Reis wrote:
| 
| > Nathan Sidwell <nathan@codesourcery.com> writes:
| >
| > | Matt Austern wrote:
| > |
| > | >
| > | > So, the usual two questions:
| > | >  (1) Is there a plausible argument that I'm wrong, and
| > | >      that this behavior is correct after all?
| > | >  (2) If not, is this a known bug?
| > | you are correct, g++ is wrong, I think the bug is in gnats -
| > | try searching for those with [parser] in the subject (if no
| > | feel free to add it.
| >
| > I'm sure that is a known bug.  I just went through our web page in
| > order to provide a reference but I couldn't find it.  I would swear we
| > once listed it as a known bug along with the workaround...
| 
| 795 looks relevant.

Although 795 is related, I think it is more complicated and slightly
different: Basically it is related to template code and we don't do
good job with template and parsing.

I've finally gotten a reference: C++ PR/1058

  http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1058&database=gcc

| Should I add my example to the 795 description, or file  a new bug?

Maybe we should add words to that effet to our "Known Bugs" list and
put the above reference there.

Thoughts?

-- Gaby


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