https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97318

            Bug ID: 97318
           Summary: [nvptx] Function splitting results in invalid function
                    name
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Created attachment 49321
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49321&action=edit
openmp test-case

While minimizing PR97203 - I ran into:
...
FAIL: libgomp.c/test.c (test for excess errors)
Excess errors:
ptxas /tmp/ccTfIxsQ.o, line 23; fatal   : Parsing error near '.part': syntax
error
ptxas fatal   : Ptx assembly aborted due to errors
nvptx-as: ptxas returned 255 exit status
...

The problem is that this:
...
.func (.param .f32 %value_out) sinf.part.0 (.param .f32 %in_ar0);
...
is not supported by nvptx (as indicated by NO_DOT_IN_LABEL).

Reply via email to