]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nvptx: Re-enable 'gcc.dg/special/weak-2.c'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 28 Nov 2022 09:37:26 +0000 (10:37 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Mon, 7 Oct 2024 08:13:12 +0000 (10:13 +0200)
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'.

gcc/testsuite/
* gcc.dg/special/weak-2.c: Re-enable for nvptx.

gcc/testsuite/gcc.dg/special/weak-2.c

index b8133e2d7d95395fb64796f47ee7e8fe8269298b..b93a8ef9a529f10f781adbe2f486dea890ba0730 100644 (file)
@@ -2,10 +2,6 @@
 /* { dg-require-weak "" } */
 /* { dg-additional-sources "weak-2a.c weak-2b.c" } */
 
-/* NVPTX's implementation of weak is broken when a strong symbol is in
-   a later object file than the weak definition.   */
-/* { dg-skip-if "" { "nvptx-*-*" } } */
-
 #include <stdlib.h>
 
 extern int foo(void);