[4/9] nvptx: Re-enable all variants of 'gcc.c-torture/execute/20020529-1.c'

Message ID 20221202120315.803120-5-thomas@codesourcery.com
State Committed
Headers
Series [1/9] nvptx: Re-enable 'gcc.c-torture/compile/20080721-1.c' |

Commit Message

Thomas Schwinge Dec. 2, 2022, 12:03 p.m. UTC
  Generally PASSes with:

    $ ptxas --version
    ptxas: NVIDIA (R) Ptx optimizing assembler
    Copyright (c) 2005-2018 NVIDIA Corporation
    Built on Sun_Sep__9_21:06:46_CDT_2018
    Cuda compilation tools, release 10.0, V10.0.145

..., and execution with 'Driver Version: 361.93.02'.

Only the '-O1' execution test FAILs (pre-existing; to be analyzed later):

    nvptx-run: error getting kernel result: an illegal memory access was encountered (CUDA_ERROR_ILLEGAL_ADDRESS, 700)

        gcc/testsuite/
        * gcc.c-torture/execute/20020529-1.c: Re-enable all variants for
        nvptx.
---
 gcc/testsuite/gcc.c-torture/execute/20020529-1.c | 4 ----
 1 file changed, 4 deletions(-)

--
2.35.1

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
  

Patch

diff --git a/gcc/testsuite/gcc.c-torture/execute/20020529-1.c b/gcc/testsuite/gcc.c-torture/execute/20020529-1.c
index 160a716ba5bf..d1b93c76fdf4 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20020529-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20020529-1.c
@@ -12,10 +12,6 @@ 
    forced a splitter through the output pattern "#", but there was no
    matching splitter.  */

-/* The ptx assembler appears to clobber 'b' inside foo during the f1 call.
-   Reported to nvidia 2016-05-18.  */
-/* { dg-skip-if "PTX assembler bug" { nvptx-*-* } { "-O0" } { "" } } */
-
 struct xx
  {
    int a;