Re: [PATCH] Fix failure building LLVM with location wrapper nodes (PR c++/83799)

2018-01-12 Thread Markus Trippelsdorf
On 2018.01.12 at 09:07 +0100, Markus Trippelsdorf wrote: > On 2018.01.11 at 18:21 -0500, David Malcolm wrote: > > diff --git a/gcc/testsuite/g++.dg/wrappers/pr83799.C > > b/gcc/testsuite/g++.dg/wrappers/pr83799.C > > new file mode 100644 > > index 000..f93c0ae > > --- /dev/null > > +++

Re: [PATCH] Fix failure building LLVM with location wrapper nodes (PR c++/83799)

2018-01-12 Thread Markus Trippelsdorf
On 2018.01.11 at 18:21 -0500, David Malcolm wrote: > diff --git a/gcc/testsuite/g++.dg/wrappers/pr83799.C > b/gcc/testsuite/g++.dg/wrappers/pr83799.C > new file mode 100644 > index 000..f93c0ae > --- /dev/null > +++ b/gcc/testsuite/g++.dg/wrappers/pr83799.C > @@ -0,0 +1,18 @@ > +class

[PATCH] Fix failure building LLVM with location wrapper nodes (PR c++/83799)

2018-01-11 Thread David Malcolm
PR c++/83799 reports a failure building LLVM due to a bogus "no matching function for call to" error at a callsite like this: TLI->getTypeLegalizationCost(DL); where "DL" is from: using TargetTransformInfoImplBase::DL; The root cause is that type_dependent_expression_p on a USING_DECL should