https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90811
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|9.0 |8.3.1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- $ PATH=/usr/src/cuda/usr/local/cuda-8.0/bin/:$PATH gcc -O2 -fopenmp -o pr90811{,.c} ptxas /tmp/ccn7GaYi.o, line 146; error : Arguments mismatch for instruction 'and' ptxas fatal : Ptx assembly aborted due to errors nvptx-as: ptxas returned 255 exit status mkoffload: fatal error: x86_64-redhat-linux-accel-nvptx-none-gcc returned 1 exit status compilation terminated. lto-wrapper: fatal error: /usr/libexec/gcc/x86_64-redhat-linux/8//accel/nvptx-none/mkoffload returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status $ gcc -O2 -fopenmp -o pr90811{,.c} $ ./pr90811 libgomp: Link error log ptxas application ptx input, line 145; error : Unexpected instruction types specified for 'and' ptxas fatal : Ptx assembly aborted due to errors libgomp: cuLinkAddData (ptx_code) error: a PTX JIT compilation failed libgomp: Cannot map target functions or variables (expected 1, have 4294967295)