[nvptx] fix complex args

Nathan Sidwell nathan@acm.org
Sun Aug 23 16:07:00 GMT 2015


I've committed this patch, which fixes gcc.dg/compat/struct-by-value-11

That test passes 'complex char', which is split into two char arguments.  We 
fail to promote the type in one place, leading to a PTX type mismatch where we 
claim an 8 bit type is a 32 bit type.

nathan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptx-cplx.patch
Type: text/x-patch
Size: 1827 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150823/d414ee3f/attachment.bin>


More information about the Gcc-patches mailing list