1 PR target/16092 fix backport from gcc 3.4.0
2 --- gcc-3.3.4/gcc/config/i386/i386.c.orig 2004-05-18 07:07:52.000000000 +0200
3 +++ gcc-3.3.4/gcc/config/i386/i386.c 2004-06-20 19:17:22.244016950 +0200
4 @@ -14673,15 +14673,14 @@
5 output_asm_insn ("mov{l}\t{%0, %1|%1, %0}", xops);
8 - xops[0] = DECL_RTL (function);
9 + xops[0] = XEXP (DECL_RTL (function), 0);
12 if (!flag_pic || (*targetm.binds_local_p) (function))
13 output_asm_insn ("jmp\t%P0", xops);
16 - tmp = XEXP (xops[0], 0);
17 - tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, tmp), UNSPEC_GOTPCREL);
18 + tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, xops[0]), UNSPEC_GOTPCREL);
19 tmp = gen_rtx_CONST (Pmode, tmp);
20 tmp = gen_rtx_MEM (QImode, tmp);