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 a reference to that struct (see cp_genericize in cp-gimplify.c). Hence it is possible for RETURN_IN_REG (return_type) to be false AND for a return value in a register (!).

testing a patch.

nathan

Reply via email to