This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81730] New: nvptx and finstrument-functions


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)
...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]