From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27833 invoked by alias); 30 Jul 2007 10:32:36 -0000 Received: (qmail 27823 invoked by uid 22791); 30 Jul 2007 10:32:35 -0000 X-Spam-Check-By: sourceware.org Received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jul 2007 10:32:32 +0000 Received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.13.7/8.13.7/ROSCH/DDB) with ESMTP id l6UAWOlW001182 for ; Mon, 30 Jul 2007 12:32:29 +0200 To: gcc-patches@gcc.gnu.org Subject: PING: PING: patch: ICE in legitimize_pic_address for x86_64 mingw target MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 Message-ID: From: Kai Tietz Date: Mon, 30 Jul 2007 11:19:00 -0000 Content-Type: multipart/mixed; boundary="=_mixed 0039E4F0C1257328_=" X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02102.txt.bz2 --=_mixed 0039E4F0C1257328_= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Content-length: 1855 SGksDQoNCnRoZXJlIGlzIGFuIElDRSBmb3IgX19kZWNsc3BlYyhkbGxpbXBv cnQpIGltcG9ydGVkIHZhcmlhYmxlcy4gVGhlIGNoZWNraW5nIA0Kb2YgcGlj IHNlZW1zIHRvIGJlIHRvIGVhcmx5IGluIGxlZ2l0aW1pemVfYWRkcmVzcy4g VGhlIGNoZWNrIGZvciANClRBUkdFVF9ETExJTVBPUlRfREVDTF9BVFRSSUJV VEVTIHNob3VsZCBiZSBkb25lIGluZnJvbnQgQUZBSUNTLiBJIA0KYm9vdHN0 cmFwZWQgaXQgZm9yIHg4Nl82NC1wYy1taW5ndzMyIGFuZ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VnZW5zYnVyZyAtIEJMWiA3NTAgNDAwIDYyIC0gS29udG8g NjAxMTA1MA0KICBIYW5kZWxzcmVnaXN0ZXI6IEhSQSA2NzQ0LCBBbXRzZ2Vy aWNodCBSZWdlbnNidXJnDQogIEtvbXBsZW1lbnTDpHJpbjogT25lVmlzaW9u IFNvZnR3YXJlIEVudHdpY2tsdW5ncyBWZXJ3YWx0dW5ncyBHbWJIDQogIERy Li1MZW8tUml0dGVyLVN0cmHDn2UgOSDigJMgOTMwNDkgUmVnZW5zYnVyZw0K ICBIYW5kZWxzcmVnaXN0ZXI6IEhSQiA4OTMyLCBBbXRzZ2VyaWNodCBSZWdl bnNidXJnIC0gR2VzY2jDpGZ0c2bDvGhyZXI6IA0KVWxyaWtlIETDtmhsZXIs IE1hbnVlbGEgS2x1Z2VyDQo= --=_mixed 0039E4F0C1257328_= Content-Type: text/plain; name="i386_got.txt" Content-Disposition: attachment; filename="i386_got.txt" Content-Transfer-Encoding: quoted-printable Content-length: 942 Index: gcc/gcc/config/i386/i386.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc.orig/gcc/config/i386/i386.c +++ gcc/gcc/config/i386/i386.c @@ -7673,9 +7673,6 @@ legitimize_address (rtx x, rtx oldx ATTR return gen_rtx_PLUS (Pmode, t, XEXP (XEXP (x, 0), 1)); } =20 - if (flag_pic && SYMBOLIC_CONST (x)) - return legitimize_pic_address (x, 0); - if (TARGET_DLLIMPORT_DECL_ATTRIBUTES) { if (GET_CODE (x) =3D=3D SYMBOL_REF && SYMBOL_REF_DLLIMPORT_P (x)) @@ -7690,6 +7687,9 @@ legitimize_address (rtx x, rtx oldx ATTR } } =20 + if (flag_pic && SYMBOLIC_CONST (x)) + return legitimize_pic_address (x, 0); + /* Canonicalize shifts by 0, 1, 2, 3 into multiply */ if (GET_CODE (x) =3D=3D ASHIFT && CONST_INT_P (XEXP (x, 1)) =3D= --=_mixed 0039E4F0C1257328_=--