http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51265

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-11-22
            Summary|internal compiler error: in |[4.6/4.7 Regression] ICE in
                   |finish_decltype_type, at    |finish_decltype_type, at
                   |cp/semantics.c:5244         |cp/semantics.c:5244
     Ever Confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-22 
15:37:17 UTC ---
Can be reduced to this, and seems a Regression:

struct Funny
{
  int print3(int) const;
};

template<typename X, X ff>
void c();

template<typename X, X ff, typename R, typename... A>
void xx(A... args)
{
  c<decltype(ff), ff>();
}

int main()
{
  xx<int (Funny::*)(int) const, &Funny::print3, int, int>(3);
}

Reply via email to