From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26544 invoked by alias); 5 Jul 2014 18:43:02 -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 26405 invoked by uid 89); 5 Jul 2014 18:42:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: ainaz.pair.com Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 05 Jul 2014 18:42:56 +0000 Received: from tuna.dhcp.nue.suse.com (charybdis-ext.suse.de [195.135.221.2]) by ainaz.pair.com (Postfix) with ESMTPSA id 94B663F40F; Sat, 5 Jul 2014 14:42:53 -0400 (EDT) Date: Sat, 05 Jul 2014 18:43:00 -0000 From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org cc: Kenneth Zadeck , Mike Stump , Richard Sandiford Subject: Make declaration of wide_int_storage match its definition Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00348.txt.bz2 Farther below in wide-int.h, we define wide_int_storage as a class: class GTY(()) wide_int_storage { private: HOST_WIDE_INT val[WIDE_INT_MAX_ELTS]; unsigned int len; unsigned int precision; : The patch below, which I applied as obvious after a full bootstrap on i386-unknown-freebsd10.0, makes the declaration match the definition. Gerald 2014-07-05 Gerald Pfeifer * wide-int.h (wide_int_storage): Change declaration from struct to class. Index: wide-int.h =================================================================== --- wide-int.h (revision 212304) +++ wide-int.h (working copy) @@ -284,7 +284,7 @@ template struct generic_wide_int; template struct fixed_wide_int_storage; -struct wide_int_storage; +class wide_int_storage; /* An N-bit integer. Until we can use typedef templates, use this instead. */ #define FIXED_WIDE_INT(N) \