From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F0CD53857C46; Fri, 2 Feb 2024 20:36:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0CD53857C46 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706906173; bh=qXMt7aebFsHm75KIV95u/aAIN1Ti8o4mvKgdsGA5HBs=; h=From:To:Subject:Date:From; b=akydj4rTq7QhsGY0IyMqfVUHP+eId5NeQriesnL0jkTD7YnVWrPxvSnCjDOUc1PtC RvWu96W2baL1xCl3D7mf2xkMuHzzXT5d3kEbH84yCFHFUHNqHVNN0TDUyb6BQji1IE 87VawfGRyveF91kQaxTbuERQSlGE6c5K8J225Y74= From: "carlosgalvezp at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/31331] New: Wenum-constexpr-conversion should be fixed, soon treated as a hard error Date: Fri, 02 Feb 2024 20:36:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlosgalvezp at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31331 Bug ID: 31331 Summary: Wenum-constexpr-conversion should be fixed, soon treated as a hard error Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: carlosgalvezp at gmail dot com Target Milestone: --- Hi! In Clang we are looking to turn the -Wenum-constexpr-conversion warning int= o a hard error, since it's UB detected in a constexpr context, which is mandate= d by the Standard to be flagged. See discussion: https://github.com/llvm/llvm-project/issues/59036 We see that binutils-gdb is currently suppressing the warning: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dblob;f=3Dinclude/diagn= ostics.h;h=3D8cc2b493d2c02ba7dbc5879207746107ad7143a0;hb=3Drefs/heads/maste= r#l81 https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dblob;f=3Dgdbsupport/en= um-flags.h;hb=3De58beedf2c8a1e0c78e0f57aeab3934de9416bfc#l95 Could the code be fixed instead? We naturally don't want to break important packages such as this one so we are currently waiting for fixes. Thanks! --=20 You are receiving this mail because: You are on the CC list for the bug.=