https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79371
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-02-06
CC| |dmalcolm at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks for filing this bug.
Confirmed the ICE; the ICE began with r244599 (aka
4e2cb1d95045795cc6a71d1ffa3e0d068c542a10):
PR c++/68666 - member variable template-id
* typeck.c (finish_class_member_access_expr): Handle variable
template-id.
* pt.c (lookup_and_finish_template_variable): No longer static.
* cp-tree.h: Declare it.
where behavior with the reproducer transitions from (with r244598):
test.cc:6:13: error: ‘a’ is not a member template function
int b = S().a < int >;
^~~~~~~~~
to (with r244599) the backtrace in comment #0.
It still affects trunk (e.g. r245021).