http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48320
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-09-06
CC| |dodji at gcc dot gnu.org
Component|regression |c++
Ever Confirmed|0 |1
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-06
22:52:49 UTC ---
This is a problem with fixup_template_parms; when we substitute into the
default template argument for Result, we've wrapped Indices in an
EXPR_PACK_EXPANSION, so it doesn't work as used in the default argument.