From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4722 invoked by alias); 11 Jul 2011 10:10:24 -0000 Received: (qmail 4713 invoked by uid 22791); 11 Jul 2011 10:10:24 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Jul 2011 10:10:10 +0000 Received: (qmail 3637 invoked from network); 11 Jul 2011 10:10:09 -0000 Received: from unknown (HELO ?84.152.164.112?) (bernds@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Jul 2011 10:10:09 -0000 Message-ID: <4E1ACBFD.7020103@codesourcery.com> Date: Mon, 11 Jul 2011 10:38:00 -0000 From: Bernd Schmidt User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110708 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: Richard Henderson CC: GCC Patches Subject: Re: [11/11] Fix get_mode_bounds References: <4E0E0310.60406@codesourcery.com> <4E0E06EC.3050709@codesourcery.com> <4E14AB4C.4050703@redhat.com> In-Reply-To: <4E14AB4C.4050703@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2011-07/txt/msg00795.txt.bz2 On 07/06/11 20:37, Richard Henderson wrote: > On 07/01/2011 10:42 AM, Bernd Schmidt wrote: >> get_mode_bounds should also use GET_MODE_PRECISION, but this exposes a >> problem on ia64 - BImode needs to be handled specially here to work >> around another preexisting special case in gen_int_mode. > > Would it be better to remove the trunc_int_for_mode special case? > It appears that I added that for ia64 and it's unchanged since... I tried that on ia64. It didn't bootstrap with the special case removed (configure-stage1-target-libgomp failure), and progressed further without the change. (It still failed with /usr/bin/ld: /opt/cfarm/gmp-4.2.4/lib/libgmp.a(errno.o): @gprel relocation against dynamic symbol __gmp_errno /usr/bin/ld: /opt/cfarm/gmp-4.2.4/lib/libgmp.a(errno.o): @gprel relocation against dynamic symbol __gmp_errno /usr/bin/ld: /opt/cfarm/gmp-4.2.4/lib/libgmp.a(errno.o): @gprel relocation against dynamic symbol __gmp_errno /usr/bin/ld: final link failed: Nonrepresentable section on output ) > That said, I'm willing to approve the patch as-is. I'll commit it then. Bernd