public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109899] New: ICE in check_noexcept_r, at cp/except.cc:1065
@ 2023-05-17 21:16 jeanmichael.celerier at gmail dot com
  2023-05-17 21:20 ` [Bug c++/109899] " pinskia at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: jeanmichael.celerier at gmail dot com @ 2023-05-17 21:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109899

            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=55106&action=edit
Preprocessed source causing the bug

Repro: 

    #include <array>
    #include <string>
    #include <boost/pfr.hpp>
    struct T {
      struct {
        // Works fine for value == std::array<int, 5> or std::string directly
        std::array<std::string, 5> value;
      } X;
    };

    int main() {
      boost::pfr::detail::fields_count<T>();
    }

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 <boost/pfr.hpp> (from 1.75 to 1.82+).

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-01-15 23:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 21:16 [Bug c++/109899] New: ICE in check_noexcept_r, at cp/except.cc:1065 jeanmichael.celerier at gmail dot com
2023-05-17 21:20 ` [Bug c++/109899] " pinskia at gcc dot gnu.org
2023-05-17 22:38 ` [Bug c++/109899] [12/13/14 Regression] " pinskia at gcc dot gnu.org
2023-05-17 22:42 ` pinskia at gcc dot gnu.org
2023-05-18  6:23 ` rguenth at gcc dot gnu.org
2023-05-18 13:23 ` mpolacek at gcc dot gnu.org
2023-05-18 13:25 ` mpolacek at gcc dot gnu.org
2023-07-26  5:31 ` pinskia at gcc dot gnu.org
2023-07-26  5:32 ` pinskia at gcc dot gnu.org
2024-01-05 23:34 ` lozko.roma at gmail dot com
2024-01-15 21:50 ` cvs-commit at gcc dot gnu.org
2024-01-15 21:52 ` [Bug c++/109899] [12/13 " ppalka at gcc dot gnu.org
2024-01-15 21:52 ` ppalka at gcc dot gnu.org
2024-01-15 22:34 ` cvs-commit at gcc dot gnu.org
2024-01-15 23:08 ` cvs-commit at gcc dot gnu.org
2024-01-15 23:09 ` ppalka at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).