From owner-p4-projects@FreeBSD.ORG Fri Jun 18 07:33:46 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1FF3316A4D0; Fri, 18 Jun 2004 07:33:46 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E78E716A4CE for ; Fri, 18 Jun 2004 07:33:45 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E042043D2F for ; Fri, 18 Jun 2004 07:33:45 +0000 (GMT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5I7WoMt055035 for ; Fri, 18 Jun 2004 07:32:50 GMT (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5I7WnEb055032 for perforce@freebsd.org; Fri, 18 Jun 2004 07:32:49 GMT (envelope-from peter@freebsd.org) Date: Fri, 18 Jun 2004 07:32:49 GMT Message-Id: <200406180732.i5I7WnEb055032@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 55236 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 07:33:46 -0000 http://perforce.freebsd.org/chv.cgi?CH=55236 Change 55236 by peter@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;