This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nvptx offloading patches [2/n]


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.

For OpenACC programs using va_list - I don't expect them to work at all. I don't believe the spec considers such issues, and ptx isn't expected to support variadic functions in the first place ("The current version of PTX does not support variadic functions" is what the spec has to say; the gcc port overachieves a little by implementing them anyway).


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]