http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60409
Bug ID: 60409 Summary: [4.9 Regression] [c++1y] ICE on valid with template function Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: paolo.carlini at oracle dot com ICE with -std=c++1y for: struct A { void foo(); }; template<typename T> void bar(T) { (A().foo)(); }