From 2a73b8e713c99e714c2619b2a536ce878f2f6e7e Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 26 Jun 2018 12:36:19 +0200 Subject: [PATCH] re PR debug/86257 (Program compiled with fPIC crashes while stepping over thread-local variable GDB) PR debug/86257 * gcc.target/i386/pr86257.c: Add -mtls-dialect=gnu to dg-options. From-SVN: r262136 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr86257.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a3980195c60..7aea7efb21f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-06-26 Jakub Jelinek + + PR debug/86257 + * gcc.target/i386/pr86257.c: Add -mtls-dialect=gnu to dg-options. + 2018-06-26 Rainer Orth * gcc.target/i386/pr86257.c: Require 64-bit. diff --git a/gcc/testsuite/gcc.target/i386/pr86257.c b/gcc/testsuite/gcc.target/i386/pr86257.c index a7b4f6701c9..07fbba92d65 100644 --- a/gcc/testsuite/gcc.target/i386/pr86257.c +++ b/gcc/testsuite/gcc.target/i386/pr86257.c @@ -1,7 +1,7 @@ /* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target fpic } */ /* { dg-require-effective-target tls } */ -/* { dg-options "-g -fPIC" } */ +/* { dg-options "-g -fPIC -mtls-dialect=gnu" } */ __thread int i; -- 2.30.2