"Joseph S. Myers" wrote:
>> gcc.dg/torture/tls/run-gd.c fails on SH because SH assumes
>> -fpic for global and local dynamic tls models. Although a line
>
> That sounds like an SH target bug to me.
Ok, I'd like to fix the SH backend so that those tests pass
without -fpic/-fpie.
Regards,
On Sun, 29 May 2011, Kaz Kojima wrote:
> Hi,
>
> Rainer Orth wrote:
> > 2010-12-30 Uros Bizjak
> > Rainer Orth
> >
> > * gcc.dg/torture/tls/run-gd.c: New test.
> > * gcc.dg/torture/tls/run-ie.c: New test.
> > * gcc.dg/torture/tls/run-ld.c: New test.
> > * gcc.dg/tort
Rainer Orth 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/
Kaz Kojima writes:
> gcc.dg/torture/tls/run-gd.c fails on SH because SH assumes
> -fpic for global and local dynamic tls models. Although a line
>
> /* { dg-options "-fpic" { target sh*-*-* } } */
>
> added to run-gd.c and run-ld.c tests looks enough for SH,
> I guess that target fpic instead of
Hi,
Rainer Orth wrote:
> 2010-12-30 Uros Bizjak
> Rainer Orth
>
> * gcc.dg/torture/tls/run-gd.c: New test.
> * gcc.dg/torture/tls/run-ie.c: New test.
> * gcc.dg/torture/tls/run-ld.c: New test.
> * gcc.dg/torture/tls/run-le.c: New test.
> * lib/target-s