From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7A27B385841C; Sat, 19 Aug 2023 06:51:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A27B385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692427880; bh=fqt7N9qCbtUY/qbVDDMN4fpKbEg8fxjq6dFnRAZWSBo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sAjc7EqUFdcRyQ47486rTYeMiFP6O7WN1PBGJX8+eiimeLNnd1/zfiBY6YrMNqyyC yS6tRyZJgLNoGtVHmNE4UBySftOCo03b0OjN7hTN2JSQ8ax28t7TVY8WygiFznVmtV bLG2InyvOvgrpyxijKLbJMNmU/rxoVPv+/Dg4R4w= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111073] [13/14 regression] False-positive -Wstringop-overflow when building gdb from trunk with -D_GLIBCXX_ASSERTIONS Date: Sat, 19 Aug 2023 06:51:20 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 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=3D111073 Sam James changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[13/14 regression] |[13/14 regression] |False-positive |False-positive |-Wstringop-overflow when |-Wstringop-overflow when |building gdb from trunk |building gdb from trunk | |with -D_GLIBCXX_ASSERTIONS --- Comment #2 from Sam James --- Oh, interesting. It needs -D_GLIBCXX_ASSERTIONS (which my gcc has on by default) to trigger.=