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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2022-10-31 00:00:00         |2022-11-5
                 CC|                            |tschwinge at gcc dot gnu.org,
                   |                            |vries at gcc dot gnu.org

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Similarly -- I guess had to be expeced -- commit
r13-3549-g4fe34cdcc80ac225b80670eabc38ac5e31ce8a5a "c: tree: target: C2x (...)
function prototypes and va_start relaxation" needs some follow-on work for
nvptx target.  A number of the test cases PASS, but the following ones don't:


    +FAIL: gcc.dg/c2x-stdarg-4.c (test for excess errors)
    +UNRESOLVED: gcc.dg/c2x-stdarg-4.c compilation failed to produce executable

    ptxas /tmp/cc2o4IWl.o, line 912; error   : Call has wrong number of
parameters
    ptxas /tmp/cc2o4IWl.o, line 912; error   : Type of argument does not match
formal parameter '%in_ar0'
    ptxas /tmp/cc2o4IWl.o, line 912; error   : Alignment of argument does not
match formal parameter '%in_ar0'
    ptxas /tmp/cc2o4IWl.o, line 960; error   : Call has wrong number of
parameters
    ptxas /tmp/cc2o4IWl.o, line 960; error   : Type of argument does not match
formal parameter '%in_ar0'
    ptxas /tmp/cc2o4IWl.o, line 996; error   : Call has wrong number of
parameters
    ptxas /tmp/cc2o4IWl.o, line 996; error   : Type of argument does not match
formal parameter '%in_ar0'
    ptxas fatal   : Ptx assembly aborted due to errors
    nvptx-as: ptxas returned 255 exit status


    +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c   -O0  (test for excess errors)
    +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c   -O0  execution test
    +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c   -O1  (test for excess errors)
    +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c   -O1  execution test
    +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c   -O2  (test for excess errors)
    +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c   -O2  execution test
    +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c   -O3 -g  (test for excess
errors)
    +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c   -O3 -g  execution test
    +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c   -Os  (test for excess errors)
    +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c   -Os  execution test

    error   : Prototype doesn't match for 'f' in 'input file 2 at offset
14552', first defined in 'input file 2 at offset 14552'
    error   : Prototype doesn't match for 'g' in 'input file 2 at offset
14552', first defined in 'input file 2 at offset 14552'
    nvptx-run: cuLinkAddData failed: unknown error (CUDA_ERROR_UNKNOWN, 999)

Reply via email to