https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63405
Gert-jan Los <gerrit.los at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gerrit.los at gmail dot com --- Comment #2 from Gert-jan Los <gerrit.los at gmail dot com> --- git bisect points to the following commit: internal compiler error: in cp_perform_integral_promotions, at cp/typeck.c:2084 ffe3a6612f48c48d0d4ca285cf9833df87b6c240 is the first bad commit commit ffe3a6612f48c48d0d4ca285cf9833df87b6c240 Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Sep 11 13:50:27 2014 +0000 PR c++/63139 * pt.c (tsubst_pack_expansion): Simplify substitution into T.... (tsubst): Don't throw away PACK_EXPANSION_EXTRA_ARGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215171 138bc75d-0d04-0410-961f-82ee72b054a4 additional testcase: ----- template <typename _Tp> _Tp forward(_Tp); template <typename Args> struct Format { Format(int, Args); }; template <typename... Args> auto format(Args &&... args) -> Format<Args...> { return {0, args...}; } template <typename... Args> void msg(Args... args) { format(forward(args)...); } void some_function() { msg('x'); } -----