Re: Fix ICE with thunks taking scalars passed by reference

2015-04-07 Thread Jan Hubicka
> On Wed, Apr 01, 2015 at 08:32:04AM +0200, Jan Hubicka wrote: > > this patch solves ICE in the attached testcase on mingw32. The problem is > > that > > on Windows API long double is passed & returned by reference and while > > expanidng > > the tunk tail call, we get lost because we turn the p

Re: Fix ICE with thunks taking scalars passed by reference

2015-04-07 Thread Jakub Jelinek
On Wed, Apr 01, 2015 at 08:32:04AM +0200, Jan Hubicka wrote: > this patch solves ICE in the attached testcase on mingw32. The problem is > that > on Windows API long double is passed & returned by reference and while > expanidng > the tunk tail call, we get lost because we turn the parameter int

Fix ICE with thunks taking scalars passed by reference

2015-03-31 Thread Jan Hubicka
Hi, this patch solves ICE in the attached testcase on mingw32. The problem is that on Windows API long double is passed & returned by reference and while expanidng the tunk tail call, we get lost because we turn the parameter into SSA name and later need its address to pass it further. The patch