https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81730
Bug ID: 81730 Summary: nvptx and finstrument-functions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Test-case pr78333.c fails to compile, presumable due to -finstrument-functions ... build-gcc/gcc/xgcc -Bbuild-gcc/gcc/ gcc/testsuite/gcc.dg/pr78333.c -fno-diagnostics-show-caret -fdiagnostics-color=never --sysroot=/home/vries/nvptx/mainkernel-2/install/nvptx-none -finstrument-functions -isystem build-gcc/nvptx-none/./newlib/targ-include -isystem newlib/libc/include -B build-gcc/nvptx-none/./newlib/ -Lbuild-gcc/nvptx-none/./newlib -mmainkernel -lm -o pr78333.exe^M ptxas /tmp/ccAiDqeJ.o, line 62; error : State space mismatch between instruction and address in instruction 'ld'^M ptxas /tmp/ccAiDqeJ.o, line 74; error : State space mismatch between instruction and address in instruction 'ld'^M ptxas /tmp/ccAiDqeJ.o, line 62; error : Unknown symbol '%frame'^M ptxas /tmp/ccAiDqeJ.o, line 62; error : Label expected for forward reference of '%frame'^M ptxas /tmp/ccAiDqeJ.o, line 74; error : Unknown symbol '%frame'^M ptxas /tmp/ccAiDqeJ.o, line 74; error : Label expected for forward reference of '%frame'^M ptxas fatal : Ptx assembly aborted due to errors^M nvptx-as: ptxas returned 255 exit status^M compiler exited with status 1 output is: ptxas /tmp/ccAiDqeJ.o, line 62; error : State space mismatch between instruction and address in instruction 'ld'^M ptxas /tmp/ccAiDqeJ.o, line 74; error : State space mismatch between instruction and address in instruction 'ld'^M ptxas /tmp/ccAiDqeJ.o, line 62; error : Unknown symbol '%frame'^M ptxas /tmp/ccAiDqeJ.o, line 62; error : Label expected for forward reference of '%frame'^M ptxas /tmp/ccAiDqeJ.o, line 74; error : Unknown symbol '%frame'^M ptxas /tmp/ccAiDqeJ.o, line 74; error : Label expected for forward reference of '%frame'^M ptxas fatal : Ptx assembly aborted due to errors^M nvptx-as: ptxas returned 255 exit status^M FAIL: gcc.dg/pr78333.c (test for excess errors) ...