Bernd Schmidt <ber...@codesourcery.com> writes:

> The following change
>
>       2011-05-26  Rainer Orth  <r...@cebitec.uni-bielefeld.de>
>       PR gcov-profile/48845
>
> causes testsuite failures on C6X. Specifically,
>
> @@ -495,11 +495,16 @@ proc check_profiling_available { test_wh
>      # These conditions depend on the argument so examine them before
>      # looking at the cache variable.
>
> +    # Tree profiling requires TLS runtime support.
> +    if { $test_what == "-fprofile-generate" } {
> +       return [check_effective_target_tls_runtime]
> +    }
> +
>
> skips all the further tests in that function if
> check_effective_target_tls_runtime returns true. (I'm not sure why it
> does that on C6X - it seems to link in emutls stuff?) We then fail with

Right, this is always present and satisfies the tls_runtime test.  The
check was primarily meant for targets that have native TLS, but need
special switches to enable it.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to