From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 971E93858419; Wed, 21 Sep 2022 00:57:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 971E93858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663721820; bh=bCwcQPedf3k4iRICEmuriNjW5HU1gQIJCLOvtxdxa5o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KF2wWxP8kWjFzCI8QfRfpHaGRG6BuTRCjQOXgvFwWQOQ/4GF+gTR7bb8Lg5fr1vgm EhAeX4bDlz9gECZW8g2M627J4oTT90knZybClKHytulD40XUV4kn8anD0FJPQhb1q6 h/yQDpofyX991BA8U5brGF4dnpmR65mNMRGKRiA8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106988] subscripting a string literal is not an integer constant expression but __builtin_strlen is Date: Wed, 21 Sep 2022 00:57:00 +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: 12.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution see_also 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=3D106988 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D44094 --- Comment #1 from Andrew Pinski --- This is an exact dup of bug 89408 and basically the same as PR 44094. *** This bug has been marked as a duplicate of bug 89408 ***=