From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30492 invoked by alias); 7 Dec 2009 12:05:46 -0000 Received: (qmail 30483 invoked by uid 22791); 7 Dec 2009 12:05:45 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-gx0-f209.google.com (HELO mail-gx0-f209.google.com) (209.85.217.209) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Dec 2009 12:05:40 +0000 Received: by gxk1 with SMTP id 1so2773734gxk.16 for ; Mon, 07 Dec 2009 04:05:38 -0800 (PST) Received: by 10.150.44.27 with SMTP id r27mr11060128ybr.263.1260187538595; Mon, 07 Dec 2009 04:05:38 -0800 (PST) Received: from Paullaptop (124-170-132-247.dyn.iinet.net.au [124.170.132.247]) by mx.google.com with ESMTPS id 14sm2847271gxk.10.2009.12.07.04.05.35 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 04:05:37 -0800 (PST) Message-ID: From: "Paul Edwards" To: "Ulrich Weigand" Cc: "Ralf Wildenhues" , "Ian Lance Taylor" , References: <200911241405.nAOE5Jsd022678@d12av02.megacenter.de.ibm.com> In-Reply-To: <200911241405.nAOE5Jsd022678@d12av02.megacenter.de.ibm.com> Subject: Re: i370 port - 3.4.6 to 4.4 upgrade attempt Date: Mon, 07 Dec 2009 12:05:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00086.txt.bz2 Well I have good news to report. I applied most of your recommended changes, but it still crashed, still at the same spot: :0: internal compiler error: Segmentation fault However, I managed to track it down to some floating point stuff in the i370 code, and got rid of that, and now I can compile a "hello, world" program! The changes to 4.4.0 required to do that can be found here: http://rapidshare.com/files/317504205/gcc4-alpha6.zip > I can see one significant change: the GCC middle-end now no > longer supports base-16 floating point at all. The old i370 > port was the only user of this feature, and some time after > the port was removed, the middle-end support was removed as > well in order to simplify floating-point handling code. > > The s390 port uses IEEE float instead of hex float throughout, > so it is not affected by this change. I found that if I didn't define anything for this at all, it still worked. I'm not sure when the lack of "hex float" will actually start affecting me. I got it to generate code like: LD 0,=D'5.5999999...e+0' which will only require minor modifications to be acceptable to HLASM. And in fact, that's basically the same code that was being generated with GCC 3.4.6 anyway. In the meantime, I'll see how much of gcc 4.4 can be self-compiled. BFN. Paul.