Rainer Orth <[email protected]> wrote:
> Given that this seems to be target-specific, unless we can identify a
> common feature of these targets, I'd rather see us xfail or skip the
> tests on a per-target basis.
>
> In addition, I've got a patch in the works that cycles the
> gcc.dg/torture/tls tests through -fpic/-fPIC and -fpie/-fPIE if
> available. This way, the testcases will be exercised on sh*-*-*, too.
Sounds good. I'll add a line like
/* { dg-skip-if "" { sh*-*-* } { "*" } { "-fpic" "-fPIC" "-fpie" "-fPIE" } } */
to run-[gl]d.c when your patch is installed.
Thank you for your suggestion.
Regards,
kaz