https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63405
--- Comment #14 from Gert-jan Los <gerrit.los at gmail dot com> --- 2014-10-08 23:06:21 CEST schrieb jason at gcc dot gnu.org: > --- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> --- > Author: jason > Date: Wed Oct 8 21:05:50 2014 > New Revision: 216013 > > URL: https://gcc.gnu.org/viewcvs?rev=216013&root=gcc&view=rev > Log: > PR c++/63405 > * pt.c (tsubst_pack_expansion): Limit simple expansion to type packs. Thank you. I can confirm this patch fixes the original issue on trunk. In addition it fixes the attached test case which showed false warnings about unused template pack arguments. (Now bootstrapping gcc-4_9-branch)