From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id 465203858C50 for ; Thu, 9 Feb 2023 15:01:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 465203858C50 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-il1-x12e.google.com with SMTP id b9so755816ila.0 for ; Thu, 09 Feb 2023 07:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CU1/t/kxIcP7ZB6MrAa4Tyo20IwGNm4qG3jolRCaIgk=; b=gJ6bJs3PEijxjdc01GqxYWgKsMcMlHLRFKuTTFkVcNHqRz2lh8kYH26jqyY70aHXEM isDo3kxIudatYgf9dQ7f+L6GtJ9JkUFCivMJo8bCjPhoJNYyZcygOJeuV9389tFa+Gl9 mIF7xB00wDTR2hK4xqDwnptDyjIzRydeqIqgsm+GXEh+QNIs8UDRwmSv6G3128Mvm8F3 gH5a37A770H4t+8oGlFz622fh2Iq+NtN++WtfMI9R86sk7tXlv0bnMy2aJkwDkUdHDDk FVAZ8+nEU9kosElDUXTLT07Mf4a+WheI7KrNgVYR8hUiKHYah8/1m7vqr3LTIZ4Klbkf TAsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CU1/t/kxIcP7ZB6MrAa4Tyo20IwGNm4qG3jolRCaIgk=; b=7R+D1Eq3oExj3aiBgh1jE527G8m8Pb5WuNJD5sy1icRpNoYUBCyOi6Vv3ztAUZxDK7 kf1caEBnbrVl46EYQYbczVJF6cTLF9OzhMJGQGSc+1C1r3jf4e6RHuDfWOt7pUHW+uL8 XgjDAf0cvCbSZP2suFPYygRCbZxQoz3BZXf1CCVVdNTZm7ZEPOSDRqSHaQTu9nS90ern fF8RG+9JK7M7JxYHC5yYrTzhkr7G4LaQU29aQj2P9Q40XdxCdWrq6G4w1TbDTqz596IM llwf0tYy/tqU2pN9OeY9OKCQLS4X4q1lbd9xrmCfElx1SA2ijBS2VhCK1XmyQGjje9nM yiew== X-Gm-Message-State: AO0yUKXC/qxzKArupQpzqQnMY1miKBjpTCOZDpgBQO5oWXtFRLS2GcRa ka+8P+Pt5rZKT/y/kIGSFL+2Fw== X-Google-Smtp-Source: AK7set/5daeyyfq5bL6a8Olma5luyyhyTZqziXNoyQI86m4x+J3zT+FrZGYmgFbNytL+Xzo9dsWyRA== X-Received: by 2002:a05:6e02:1548:b0:310:8c3e:e512 with SMTP id j8-20020a056e02154800b003108c3ee512mr11401835ilu.24.1675954896346; Thu, 09 Feb 2023 07:01:36 -0800 (PST) Received: from murgatroyd (75-166-130-93.hlrn.qwest.net. [75.166.130.93]) by smtp.gmail.com with ESMTPSA id i5-20020a02b685000000b003b02df3521dsm499076jam.93.2023.02.09.07.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 07:01:35 -0800 (PST) From: Tom Tromey To: Tom Tromey via Gdb-patches Cc: Tom Tromey Subject: Re: [PATCH v2] Increase size of main_type::nfields References: <20230127151101.4070956-1-tromey@adacore.com> X-Attribution: Tom Date: Thu, 09 Feb 2023 08:01:34 -0700 In-Reply-To: <20230127151101.4070956-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Fri, 27 Jan 2023 08:11:01 -0700") Message-ID: <87lel6zxv5.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> main_type::nfields is a 'short', and has been for many years. PR Tom> c++/29985 points out that 'short' is too narrow for an enum that Tom> contains more than 2^15 constants. Tom> This patch bumps the size of 'nfields'. I'm checking this in now. Tom