[Bug c++/78623] non-dependent name treated as if it were dependent, requiring use of template keyword

2017-06-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78623 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/78623] non-dependent name treated as if it were dependent, requiring use of template keyword

2016-12-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78623 --- Comment #2 from Jonathan Wakely --- GCC trunk and EDG both compile it without error.

[Bug c++/78623] non-dependent name treated as if it were dependent, requiring use of template keyword

2016-12-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78623 --- Comment #1 from Richard Biener --- clang agrees with GCC: > clang++ t.C -S -std=c++11 t.C:15:20: error: use 'template' keyword to treat 'foo' as a dependent template name result.foo(); // (*)