As of the PR32187 commit r239625 "Implement C _FloatN, _FloatNx types", nvptx offloading is broken, ICEs in LTO stream-in. Probably some kind of data-type mismatch that is not visible with Intel MIC offloading (using the same data types) but explodes with nvptx. I'm having a look.
Author: tschwinge Date: Wed Oct 19 10:48:46 2016 New Revision: 241338 URL: https://gcc.gnu.org/viewcvs?rev=241338&root=gcc&view=rev Log: [PR lto/77458] Avoid ICE in offloading with differing _FloatN, _FloatNx types gcc/ PR lto/77458 * tree-core.h (enum tree_index): Put the complex types after their component types. * tree-streamer.c (verify_common_node_recorded): New function. (preload_common_nodes) <TREE_CODE (node) == COMPLEX_TYPE>: Use it. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-core.h trunk/gcc/tree-streamer.c
Fixed in r241338.