[Bug c++/63198] decltype in template function declaration yields spurious error

2014-11-03 Thread eightycc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63198 --- Comment #2 from Bob Abeles --- This bug occurs when cp/parser.c:cp_parser_name() while parsing 'decltype(y = y)::t1' is called on 't1'. Earlier, the decltype has been determined to be dependent (it isn't actually in this case, but doing so ap

[Bug c++/63198] New: [c++1y] decltype in template function declaration yields spurious error

2014-09-07 Thread eightycc at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eightycc at gmail dot com Created attachment 33455 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33455&action=edit reproduces decltype bug Attempting to use decltype