[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #16 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:323dd4255203479d8c456b85513db4f8e0041d04 commit r11-4499-g323dd4255203479d8c456b85513db4f8e0041d04 Author: Marek Polacek Date: M

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 Marek Polacek changed: What|Removed |Added CC||mar...@mpa-garching.mpg.de --- Comment #

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #14 from Marek Polacek --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556517.html

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #13 from Marek Polacek --- The fix may be as easy as this: --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -23812,8 +23812,8 @@ cp_parser_class_name (cp_parser *parser, /* Any name names a type if we're following the `typename' ke

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-08-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #12 from Marek Polacek --- (In reply to Volker Reichelt from comment #11) > Hi Marek, any news on this one? It's three months now... > Or should I file a new bug for the regression on trunk? No news yet. I've been largely away from

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-08-17 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #11 from Volker Reichelt --- Hi Marek, any news on this one? It's three months now... Or should I file a new bug for the regression on trunk?

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-05-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #10 from Marek Polacek --- I see :(. I'll take a look, thanks for noticing.

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-05-15 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 Volker Reichelt changed: What|Removed |Added CC||reichelt at gcc dot gnu.org --- Commen

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-05-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 Marek Polacek changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression] Calling

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-04-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #6 from Marek Polacek

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-04-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-04-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #4 from Marek Polacek --- Another test, where the name after . isn't an injected-class-name: template struct B { void foo (); int i; }; template struct D : public B { }; template void fn (D d) { d.template B::foo (); d.temp

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-04-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #3 from Marek Polacek --- Here we have "p->template A::a()" but cp_parser_expression only parses the "p->template A" part, so we complain that a ; isn't following. It's because cp_parser_template_name now considers the object scope: