Re: [PATCH] Fix ICE due to invalid thunk (PR ipa/64776)

2015-01-27 Thread Richard Biener
On Mon, 26 Jan 2015, Jakub Jelinek wrote: > Hi! > > On x86_64-darwin, we ICE on one of the pr64307.c testcase, because > expand_thunk doesn't load non-gimple_val arguments into registers > for the first argument, only for all the other ones. > Supposedly normally thunks were meant to have this ar

[PATCH] Fix ICE due to invalid thunk (PR ipa/64776)

2015-01-26 Thread Jakub Jelinek
Hi! On x86_64-darwin, we ICE on one of the pr64307.c testcase, because expand_thunk doesn't load non-gimple_val arguments into registers for the first argument, only for all the other ones. Supposedly normally thunks were meant to have this argument as pointer first and thus it wasn't an issue, bu