https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66714
--- Comment #2 from vries at gcc dot gnu.org --- Created attachment 35889 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35889&action=edit Add testcase, no need to set --target_board=unix/-O2/-g $ make -k -j5 check-target-libgomp RUNTESTFLAGS=c.exp=pr66714.c ... FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/pr66714.c -DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 (internal compiler error) FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/pr66714.c -DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 (test for excess errors) UNRESOLVED: libgomp.oacc-c/../libgomp.oacc-c-c++-common/pr66714.c -DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 compilation failed to produce executable FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/pr66714.c -DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 (internal compiler error) FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/pr66714.c -DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 (test for excess errors) UNRESOLVED: libgomp.oacc-c/../libgomp.oacc-c-c++-common/pr66714.c -DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 compilation failed to produce executable ...