On 10/28/2015 06:34 PM, Alexander Monakov wrote:
I didn't; a simple test exercising pointer fields appears to fail, indeed.  So
what's the way forward here?

I didn't quite get why you felt a need to change this? Your previous mail didn't seem to include a testcase, just that you get "the desired behaviour".

Running the full testsuite is required for each change; for nvptx-specific code it's probably sufficient to just run check-gcc C tests and maybe C++ tests if you're feeling adventurous.

Unless packed, a structure with pointer fields
will have size divisible by sizeof(void*), so can we simply pick the largest
PTX type evenly dividing the size of the original type?

Or just keep ptr_type_node? What's wrong with this?


Bernd

Reply via email to