This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch testsuite/39790: gcc.dg/tls/alias-1.c,opt-2.c fail if TLS is not supported by C library


On Mon, 2009-04-20 at 13:48 -0700, Jing Yu wrote:
> As commented by Hans-Peter Nilsson(hp@gcc.gnu.org) in bugzilla
> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39790), we can just use
> tls_runtime as the target instead of creating a new predicate that
> does link-test.
> 
> I agree with it, and here is the new patch.
> 
>        PR testsuite/39790
>        * lib/target-supports.exp (check_effective_target_tls): Remove
>        comment of caching.
>        (check_effective_target_tls_native): Likewise.
>        (check_effective_target_tls_runtime): Likewise.
>        * gcc.dg/tls/alias-1.c (dg-require-effective-target): Change target
>        tls to tls_runtime.
>        * gcc.dg/tls/opt-2.c: Add dg-require-effective-target tls_runtime.
> 
> Is it ok?

OK for trunk and relevant release branches.  Sorry for the delay,
I was gone for a couple of weeks.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]