http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51213
--- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-07-24 10:34:56 UTC --- So, first we have a typo at pt.c:6142: orig_arg = make_typename_type (TREE_OPERAND (arg, 0), TREE_OPERAND (arg, 1), typename_type, complain & tf_error); the fourth argument must be just complain. Let's see if we have more ;)