https://gcc.gnu.org/g:81dcca1c24835c6c9e06e6aa917c40e0f4b1fdd5
commit r15-4100-g81dcca1c24835c6c9e06e6aa917c40e0f4b1fdd5 Author: Thomas Schwinge <tho...@codesourcery.com> Date: Mon Nov 28 10:37:26 2022 +0100 nvptx: Re-enable 'gcc.dg/special/weak-2.c' 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. Diff: --- gcc/testsuite/gcc.dg/special/weak-2.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gcc/testsuite/gcc.dg/special/weak-2.c b/gcc/testsuite/gcc.dg/special/weak-2.c index b8133e2d7d95..b93a8ef9a529 100644 --- a/gcc/testsuite/gcc.dg/special/weak-2.c +++ b/gcc/testsuite/gcc.dg/special/weak-2.c @@ -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);