Re: [PATCH] Do not inline variadic thunks (PR ipa/83549).

2018-01-03 Thread Martin Liška
t; diff --git a/gcc/testsuite/g++.dg/ipa/pr83549.C >> b/gcc/testsuite/g++.dg/ipa/pr83549.C >> new file mode 100644 >> index 000..90cf8fe7e0d >> --- /dev/null >> +++ b/gcc/testsuite/g++.dg/ipa/pr83549.C >> @@ -0,0 +1,8 @@ >> +// PR ipa/83549 >>

Re: [PATCH] Do not inline variadic thunks (PR ipa/83549).

2018-01-03 Thread Jan Hubicka
> Hi. > > As mentioned in the PR, we should bail out inlining of thunks with variadic > arguments. It's problematic for cgraph_node::expand_thunk function that > does not support variadic functions. > > Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > Ready to be in

[PATCH] Do not inline variadic thunks (PR ipa/83549).

2018-01-03 Thread Martin Liška
Hi. As mentioned in the PR, we should bail out inlining of thunks with variadic arguments. It's problematic for cgraph_node::expand_thunk function that does not support variadic functions. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin g