]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- wontfix for 3.3.x, but this simple change seems to work...
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Jun 2004 19:55:22 +0000 (19:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc-amd64-thunk.patch -> 1.1

gcc-amd64-thunk.patch [new file with mode: 0644]

diff --git a/gcc-amd64-thunk.patch b/gcc-amd64-thunk.patch
new file mode 100644 (file)
index 0000000..c8a8190
--- /dev/null
@@ -0,0 +1,21 @@
+PR target/16092 fix backport from gcc 3.4.0
+--- gcc-3.3.4/gcc/config/i386/i386.c.orig      2004-05-18 07:07:52.000000000 +0200
++++ gcc-3.3.4/gcc/config/i386/i386.c   2004-06-20 19:17:22.244016950 +0200
+@@ -14673,15 +14673,14 @@
+       output_asm_insn ("mov{l}\t{%0, %1|%1, %0}", xops);
+     }
+-  xops[0] = DECL_RTL (function);
++  xops[0] = XEXP (DECL_RTL (function), 0);
+   if (TARGET_64BIT)
+     {
+       if (!flag_pic || (*targetm.binds_local_p) (function))
+       output_asm_insn ("jmp\t%P0", xops);
+       else
+       {
+-        tmp = XEXP (xops[0], 0);
+-        tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, tmp), UNSPEC_GOTPCREL);
++        tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, xops[0]), UNSPEC_GOTPCREL);
+         tmp = gen_rtx_CONST (Pmode, tmp);
+         tmp = gen_rtx_MEM (QImode, tmp);
+         xops[0] = tmp;
This page took 0.207681 seconds and 4 git commands to generate.