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] Fix IA-32 TLS IE and LE models


On Thu, Aug 08, 2002 at 06:26:55PM +0200, Jakub Jelinek wrote:
> -  tp = gen_rtx_CONST (Pmode, tp);
> +  tp = gen_rtx_MEM (Pmode, tp);
> +  RTX_UNCHANGING_P (tp) = 1;

Do

  set_mem_alias_set (new, ix86_GOT_alias_set ());

as well.

> +/* { dg-do link } */
> +/* { dg-options "-O2 -ftls-model=initial-exec" } */
> +/* { dg-options "-O2 -ftls-model=initial-exec -march=i686" { target i?86-*-* } } */
> +
> +extern __thread int thr;

Link?  Where does thr get defined?


r~


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