[Bug c++/60409] New: [4.9 Regression] [c++1y] ICE on valid with template function

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 4 11:16:00 GMT 2014


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)();
}



More information about the Gcc-bugs mailing list