From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9246 invoked by alias); 30 Sep 2014 11:51:33 -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 9233 invoked by uid 89); 30 Sep 2014 11:51:32 -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 11:51:31 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D12C0AD51; Tue, 30 Sep 2014 11:51:28 +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> <87y4t1jreq.fsf@e105548-lin.cambridge.arm.com> X-Yow: .. Like I always say -- nothing can beat the BRATWURST here in DUSSELDORF!! Date: Tue, 30 Sep 2014 11:51:00 -0000 In-Reply-To: <87y4t1jreq.fsf@e105548-lin.cambridge.arm.com> (Richard Sandiford's message of "Tue, 30 Sep 2014 12:09:49 +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/msg02632.txt.bz2 Richard Sandiford writes: > Andreas Schwab writes: >> 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. > > Are you sure? See C11, 6.7.2#5. Each of the comma-separated multisets designates the same type, except that for bit-fields, it is implementation-defined whether the specifier int designates the same type as signed int or the same type as unsigned int. 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."