PERFORCE change 55236 for review

Peter Wemm peter at FreeBSD.org
Fri Jun 18 07:33:46 GMT 2004


http://perforce.freebsd.org/chv.cgi?CH=55236

Change 55236 by peter at peter_overcee on 2004/06/18 07:32:26

	check in g++ codegen bug fix from gcc-cvs via Sam McNiel via amd64@

Affected files ...

.. //depot/projects/hammer/contrib/gcc/config/i386/i386.c#10 edit

Differences ...

==== //depot/projects/hammer/contrib/gcc/config/i386/i386.c#10 (text+ko) ====

@@ -14607,15 +14607,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;


More information about the p4-projects mailing list