[Bug c++/79192] Angle bracket following typename is treated as template argument delimiter even if the name is not a template name

2017-01-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79192 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/79192] Angle bracket following typename is treated as template argument delimiter even if the name is not a template name

2017-01-23 Thread ricilake at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79192 --- Comment #1 from ricilake at gmail dot com --- Thanks to Johannes Schaub-litb (via SO), the problem appears to be at around line 16781 of cp/parser.c: /* There is no valid C++ program where a non-template type is followed by a