From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3BD783857B80; Wed, 19 Oct 2022 16:53:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BD783857B80 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666198425; bh=TCqavyHYpggboIjNnl4g33JdZiDE9bc/ig+HgAKkkE4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kgX2KTbZ9b1/bz2owXhRWeC14DwrWzIGJ1iog2cuKbKZs2vrK9AtrGfjRctM/ecSm /HIIqbtbO1Nwgm27hH7LV+zAc4Kdp54A2UCPapZUv6sOjuEk4hDpeeKa7VLUurbT63 ChBoSO0TjoVSzpl7YpERQx/2Fcc1EDST9MIKOzsw= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f Date: Wed, 19 Oct 2022 16:53:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107311 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a01eae670600852f78e8df1b88259572f181d42e commit r13-3385-ga01eae670600852f78e8df1b88259572f181d42e Author: Jakub Jelinek Date: Wed Oct 19 18:49:03 2022 +0200 testsuite: Fix up c2x-enum-1.c for 32-bit arches [PR107311] On Wed, Oct 19, 2022 at 02:57:59PM +0000, Joseph Myers wrote: > I think the type checked for e5a should be conditional on __LONG_MAX_= _ > > __INT_MAX__; everything else there should be OK regardless. This patch does that. 2022-10-19 Jakub Jelinek PR c/107311 * gcc.dg/c2x-enum-1.c (enum e5): Expect e5a type inside of enum to be int rather than long if long isn't wider than int.=