Re: [nvptx] Incorrect %retval usage in C++ code

2015-08-18 Thread Nathan Sidwell
On 08/17/15 03:31, Thomas Schwinge wrote: Hi! I observed that for a (slowly increasing?) number of C++ testcases (gcc/testsuite/g++.*/), their nvptx compilation fails as follows: This is occurring because in C++land (some?) functions that return structs via a hidden parameter now also return

[nvptx] Incorrect %retval usage in C++ code

2015-08-17 Thread Thomas Schwinge
Hi! I observed that for a (slowly increasing?) number of C++ testcases (gcc/testsuite/g++.*/), their nvptx compilation fails as follows: spawn [...]/build-gcc/gcc/testsuite/g++/../../xg++ -B[...]/build-gcc/gcc/testsuite/g++/../../ [...]/source-gcc/gcc/testsuite/g++.dg/cpp0x/nsdmi4.C -fno-d