From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18445 invoked by alias); 13 Aug 2009 18:40:21 -0000 Received: (qmail 18374 invoked by uid 22791); 13 Aug 2009 18:40:20 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail3.caviumnetworks.com (HELO mail3.caviumnetworks.com) (12.108.191.235) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Aug 2009 18:40:14 +0000 Received: from caexch01.caveonetworks.com (Not Verified[192.168.16.9]) by mail3.caviumnetworks.com with MailMarshal (v6,2,2,3503) id ; Thu, 13 Aug 2009 14:40:05 -0400 Received: from caexch01.caveonetworks.com ([192.168.16.9]) by caexch01.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 13 Aug 2009 11:39:28 -0700 Received: from localhost ([64.169.86.201]) by caexch01.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 13 Aug 2009 11:39:28 -0700 From: Adam Nemet To: Markus L Cc: gcc@gcc.gnu.org Subject: Re: Address as HImode when Pmode is QImode? References: Date: Thu, 13 Aug 2009 22:54:00 -0000 In-Reply-To: (Markus L.'s message of "Thu, 13 Aug 2009 15:29:33 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-08/txt/msg00225.txt.bz2 Markus L writes: > I run into an assert in convert_memory_address not beeing able to > convert the address rtx (beeing HImode) into to Pmode (i.e. QImode). A > few frames up the I can dump the tree node and it looks like the > address calculations are done in HImode. Why is the address beeing > calculated as unsigned long int and not as unsigned int which would be > Pmode for my target? Is this expected (and my problem originates from > elsewhere) or am I missing something obvious here? What's your sizetype? This could be related to: http://gcc.gnu.org/ml/gcc/2008-05/msg00313.html Adam