Re: [nvptx] fix some c++ tests

2015-10-09 Thread Bernd Schmidt
On 10/09/2015 07:55 AM, Thomas Schwinge wrote: Hi Nathan! Thanks for looking into this. When I reported this, , quite a lot of testcases had been failing -- with recent GCC trunk, the number is smaller (because

Re: [nvptx] fix some c++ tests

2015-10-08 Thread Thomas Schwinge
Hi Nathan! Thanks for looking into this. When I reported this, , quite a lot of testcases had been failing -- with recent GCC trunk, the number is smaller (because of other middle end/optimization changes, I supp

[nvptx] fix some c++ tests

2015-10-08 Thread Nathan Sidwell
I've committed this to trunk. The C++ ABI now returns a pointer to the passed-in artificial arg that points to the return area. consequently return-in-mem and type_mode(return_type) == VOIDmode are not tautologies. nathan 2015-10-08 Nathan Sidwell * config/nvptx/nvptx.h (struct machine_