Re: [C++ PATCH] Fix up vector cond expr handling in templates (PR c++/71871)

2016-07-18 Thread Jason Merrill
OK. Jason On Thu, Jul 14, 2016 at 11:21 AM, Jakub Jelinek wrote: > Hi! > > This patch reverts part of > https://gcc.gnu.org/ml/gcc-patches/2012-10/msg01665.html > which looks wrong to me. > The problem is that in templates, if the build_x_conditional_expr > arguments aren't type dependent, we mi

[C++ PATCH] Fix up vector cond expr handling in templates (PR c++/71871)

2016-07-14 Thread Jakub Jelinek
Hi! This patch reverts part of https://gcc.gnu.org/ml/gcc-patches/2012-10/msg01665.html which looks wrong to me. The problem is that in templates, if the build_x_conditional_expr arguments aren't type dependent, we might get NON_DEPENDENT_EXPR wrappers around the argument, so after issuing possibl