Adam Butcher wrote:
From: abutcher <abutcher@138bc75d-0d04-0410-961f-82ee72b054a4>
        * lambda.c (lambda_function): Return template result if call operator is
        a template.

I believe that that patch causes the following build failure of cp/lambda.c:

In file included from ../../gcc/tree-core.h:27:0,
                 from ../../gcc/tree.h:23,
                 from ../../gcc/cp/lambda.c:27:
../../gcc/vec.h: In function 'void maybe_add_lambda_conv_op(tree)':
../../gcc/vec.h:626:44: error: 'direct_argvec' may be used uninitialized in this function [-Werror=maybe-uninitialized]
 vec_safe_space (const vec<T, A, vl_embed> *v, unsigned nelems)
                                            ^
../../gcc/cp/lambda.c:795:21: note: 'direct_argvec' was declared here
   vec<tree, va_gc> *direct_argvec;


Tobias

PS: I am not positive since I use a patched tree and I haven't bisected.

Reply via email to