The TLS testcase needs to add target-specific TLS options. Committed as obvious.
* gcc.dg/debug/pr65771.c: Add "dg-add-options tls". Index: debug/pr65771.c =================================================================== --- debug/pr65771.c (revision 222680) +++ debug/pr65771.c (working copy) @@ -1,6 +1,7 @@ /* PR debug/65771 */ /* { dg-do link } */ /* { dg-require-effective-target tls } */ +/* { dg-add-options tls } */