From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F28DA382FACD; Thu, 24 Nov 2022 18:18:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F28DA382FACD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669313915; bh=iGyArVG4cxGFvFIc0661vSNvkV/PDk0EeIHrc/KPw/k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=biinK3TArq9YCX+w0NlbFPR97+bnBHVUvRwgRGJaLIDOqxU19QzuAxLj7wkFZnmNB 3N6v+NvCdFTmsh/Sk/K8VodZexhjycw9QuA5ox3WqDskxEh/WX12gL/4tnngG8RPgH 88EWyxQ/NgI/r3Zno0f8vft5nWmwtz65d9kpxLGs= From: "markus at oberhumer dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107861] C++ static_assert() does not honor -fwrapv, leading to compilation error Date: Thu, 24 Nov 2022 18:18:35 +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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at oberhumer dot com 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: 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=3D107861 --- Comment #3 from Markus F.X.J. Oberhumer -= -- Indeed. And just for reference I had also reported this as clang bug in https://github.com/llvm/llvm-project/issues/59195=