From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16453 invoked by alias); 30 Sep 2014 08:14:45 -0000 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 Received: (qmail 16441 invoked by uid 89); 30 Sep 2014 08:14:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 30 Sep 2014 08:14:43 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DAA06AAF1; Tue, 30 Sep 2014 08:14:39 +0000 (UTC) From: Andreas Schwab To: "David Sherwood" Cc: , , richard.sandiford@arm.com Subject: Re: Fix for "FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o compile, (internal compiler error)" References: <000001cfd995$c7bcafe0$57360fa0$@arm.com> <8738b9leiv.fsf@e105548-lin.cambridge.arm.com> X-Yow: Sometime in 1993 NANCY SINATRA will lead a BLOODLESS COUP on GUAM!! Date: Tue, 30 Sep 2014 08:14:00 -0000 In-Reply-To: <8738b9leiv.fsf@e105548-lin.cambridge.arm.com> (Richard Sandiford's message of "Tue, 30 Sep 2014 09:05:12 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-09/txt/msg02612.txt.bz2 Richard Sandiford writes: > @@ -315,7 +318,7 @@ struct ira_allocno > number (0, ...) - 2. Value -1 is used for allocnos spilled by the > reload (at this point pseudo-register has only one allocno) which > did not get stack slot yet. */ > - short int hard_regno; > + int hard_regno : 16; If you want negative numbers you need to make that explicitly signed. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."