On Fri, Feb 20, 2015 at 10:33:38AM +0100, Thomas Schwinge wrote: > On Thu, 19 Feb 2015 14:09:29 +0100, Jakub Jelinek <ja...@redhat.com> wrote: > > On Tue, Feb 17, 2015 at 09:55:32PM +0100, Bernd Schmidt wrote: > > > On 02/17/2015 06:10 PM, Jakub Jelinek wrote: > > > > > > > >What exact testcase are you trying to fix with this patch, and how do you > > > >think offloading of code using va_list can work? > > > > > > The exact testcase is any offloaded program - streaming in lto will crash > > > if > > > there is a mismatch in these preloaded nodes. > > > could following untested patch be used as a temporary hack? > > Thanks! I'll leave the approval to Bernd, but can already report that > this works fine in my testing, for intelmic and nvptx offloading.
Richard already approved it if it helps anything. So, if your testing suggests it helps something, I'll apply it. The mode_table patch is still awaiting approval, and Bernd's approved patches aren't applied, ditto your toplevel configure patch. Jakub