nvptx offloading patches [2/n]
Jakub Jelinek
jakub@redhat.com
Tue Feb 17 17:10:00 GMT 2015
On Tue, Feb 17, 2015 at 05:37:04PM +0100, Bernd Schmidt wrote:
> On 02/09/2015 11:16 AM, Richard Biener wrote:
>
> >Thus, if your patch survives LTO bootstrap and you can still LTO
> >a TU with ms_abi valist functions successfully (not sure if that's
> >exercised in the testsuite) then it is fine.
>
> I've now done the LTO bootstrap, and the program below compiled with -flto
> still works. Does that seem sufficient?
E.g. va_list_gpr_counter_field and va_list_fpr_counter_field are compared
for equality though, for va_list_type_node TYPE_MAIN_VARIANT is compared for
equality. Otherwise the stdarg pass might misbehave.
What exact testcase are you trying to fix with this patch, and how do you
think offloading of code using va_list can work?
Jakub
More information about the Gcc-patches
mailing list