From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3B5543856241; Wed, 17 May 2023 21:16:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B5543856241 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684358194; bh=ERsNwUkXMhXtxyHVhIcbSeTfnqcIVA8cKHZmCzP71lY=; h=From:To:Subject:Date:From; b=S9gE7XODcCZcvtlEGgEjFFdjZ7JcZ1w6h/DZZFnFkH7mgTXdIybNv3dbD1CbttYeB gLqzGaLCC2ISZOPp2FW9q+GszMZb1RNXD0JFFEydfrVPV8YqBc5elvzGQXPxjokOW0 PNS7xpMRuO4mCSl07nXtx0+BPNvoWebGOH+Cauzc= From: "jeanmichael.celerier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109899] New: ICE in check_noexcept_r, at cp/except.cc:1065 Date: Wed, 17 May 2023 21:16:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeanmichael.celerier at gmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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=3D109899 Bug ID: 109899 Summary: ICE in check_noexcept_r, at cp/except.cc:1065 Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 55106 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55106&action=3Dedit Preprocessed source causing the bug Repro:=20 #include #include #include struct T { struct { // Works fine for value =3D=3D std::array or std::string di= rectly std::array value; } X; }; int main() { boost::pfr::detail::fields_count(); } On godbolt: https://gcc.godbolt.org/z/xd48obMTv Preprocessed source attached. g++ 13.1.1 up-to-date in Arch Linux as of today, and it fails on any Boost version that has (from 1.75 to 1.82+).=