From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6A1F2384772F; Fri, 5 Apr 2024 13:26:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A1F2384772F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712323608; bh=3gJfV6d3KIQse8QiUua6TjGxdRoSvOPyTYw1RxtWGJI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MxhFIdzyU3VdG4nTnjmNE2zi4bLXEen4by2e7CbvgPgueUDC4aMe1PiZcd339Iw6O lwjSaSFdiJjcdIXEDosfJ1+0nPEaWMQeVdJ4BtUqn6ztaKpSmEnz9A+CTUQx4954M6 4LKt86hJYcg6X79tqXiBh43V+Kd1iJrEoWkY6t+I= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111132] [11/12/13 Regression] Function redeclaration in local scope breaks constant expression evaluation Date: Fri, 05 Apr 2024 13:26:47 +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.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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=3D111132 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[11/12/13/14 Regression] |[11/12/13 Regression] |Function redeclaration in |Function redeclaration in |local scope breaks constant |local scope breaks constant |expression evaluation |expression evaluation --- Comment #5 from Marek Polacek --- Fixed on trunk so far.=