Re: [nvptx] C++ify mkoffloads

2015-07-15 Thread Nathan Sidwell
On 07/15/15 20:55, Bernd Schmidt wrote: On 07/15/2015 08:55 PM, Nathan Sidwell wrote: I've applied this obvious patch to trunk to make mkoffloads work for C++. The equivalent is already on the gomp4 branch. Not really objecting, but why is this necessary? We control how to compile the file ge

Re: [nvptx] C++ify mkoffloads

2015-07-15 Thread Bernd Schmidt
On 07/15/2015 08:55 PM, Nathan Sidwell wrote: I've applied this obvious patch to trunk to make mkoffloads work for C++. The equivalent is already on the gomp4 branch. Not really objecting, but why is this necessary? We control how to compile the file generated by mkoffload, so we can just use

[nvptx] C++ify mkoffloads

2015-07-15 Thread Nathan Sidwell
I've applied this obvious patch to trunk to make mkoffloads work for C++. The equivalent is already on the gomp4 branch. nathan 2015-07-15 Nathan Sidwell * config/nvptx/mkoffload.c (process): Add C++ protection to emitted code. Index: config/nvptx/mkoffload.c